mirror of https://github.com/citusdata/citus.git
Add other missing old tables
parent
a46ae3bee0
commit
54f70e6e49
|
@ -497,10 +497,13 @@ SELECT shardid, nodename, nodeport
|
|||
WHERE logicalrelid = 'numbers_append'::regclass order by placementid;
|
||||
|
||||
-- add the node back
|
||||
-- before adding the node, add the pg_dist_object entry for objects table
|
||||
-- manually. Since that table was created with master_create_distributed_table
|
||||
-- we don't have the entry for it.
|
||||
-- before adding the node, add pg_dist_object entry for tables created with
|
||||
-- master_create_distributed_table as we don't have the entry for them.
|
||||
INSERT INTO citus.pg_dist_object(classid, objid, objsubid) values('pg_class'::regclass::oid, 'objects'::regclass::oid, 0);
|
||||
INSERT INTO citus.pg_dist_object(classid, objid, objsubid) values('pg_class'::regclass::oid, 'customer_with_special_\\_character'::regclass::oid, 0);
|
||||
INSERT INTO citus.pg_dist_object(classid, objid, objsubid) values('pg_class'::regclass::oid, '1_customer'::regclass::oid, 0);
|
||||
INSERT INTO citus.pg_dist_object(classid, objid, objsubid) values('pg_class'::regclass::oid, 'packed_numbers_hash'::regclass::oid, 0);
|
||||
INSERT INTO citus.pg_dist_object(classid, objid, objsubid) values('pg_class'::regclass::oid, 'super_packed_numbers_hash'::regclass::oid, 0);
|
||||
SELECT 1 FROM master_activate_node('localhost', :worker_1_port);
|
||||
RESET client_min_messages;
|
||||
RESET citus.shard_replication_factor;
|
||||
|
|
Loading…
Reference in New Issue