From 09764d6db3cf9f0d6539c37f6e62c82b73a958e3 Mon Sep 17 00:00:00 2001 From: Burak Velioglu Date: Thu, 20 Jan 2022 00:51:18 +0300 Subject: [PATCH] Add objects table manually to tests --- src/test/regress/input/multi_copy.source | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/test/regress/input/multi_copy.source b/src/test/regress/input/multi_copy.source index fe9fee121..8a15d4875 100644 --- a/src/test/regress/input/multi_copy.source +++ b/src/test/regress/input/multi_copy.source @@ -497,8 +497,10 @@ SELECT shardid, nodename, nodeport WHERE logicalrelid = 'numbers_append'::regclass order by placementid; -- add the node back -set citus.log_remote_commands to true; -set citus.worker_min_messages to debug4; +-- 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. +INSERT INTO citus.pg_dist_object(classid, objid, objsubid) values('pg_class'::regclass::oid, 'objects'::regclass::oid, 0); SELECT 1 FROM master_activate_node('localhost', :worker_1_port); RESET client_min_messages; RESET citus.shard_replication_factor;