This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SET citus.next_shard_id TO 1220000; | |
-- Tests functions related to cluster membership | |
-- before starting the test, lets try to create reference table and see a | |
-- meaningful error | |
CREATE TABLE test_reference_table (y int primary key, name text); | |
SELECT create_reference_table('test_reference_table'); | |
ERROR: cannot create reference table "test_reference_table" | |
DETAIL: There are no active worker nodes. | |
-- add the nodes to the cluster | |
SELECT 1 FROM master_add_node('localhost', :worker_1_port); |
OlderNewer