From 3cfa2549e2fd1311a4ad94dff7ae177e447c8a63 Mon Sep 17 00:00:00 2001 From: Onder Kalaci Date: Tue, 29 Nov 2022 15:06:48 +0100 Subject: [PATCH] Partition drop first --- src/backend/distributed/metadata/node_metadata.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/backend/distributed/metadata/node_metadata.c b/src/backend/distributed/metadata/node_metadata.c index 59cc85cbb..72c659988 100644 --- a/src/backend/distributed/metadata/node_metadata.c +++ b/src/backend/distributed/metadata/node_metadata.c @@ -880,7 +880,9 @@ SyncDistributedObjectsToNodeList(List *workerNodeList) char *commandStr; foreach_ptr(commandStr, commandList) - ExecuteRemoteCommandInConnectionList(connectionList, commandStr); + { + ExecuteRemoteCommandInConnectionList(connectionList, commandStr); + } MultiConnection *connection; foreach_ptr(connection, connectionList) @@ -1246,7 +1248,7 @@ ActivateNodeList(List *nodeList) * replicating reference tables to the remote node, as reference tables may * need such objects. */ - SyncDistributedObjectsToNodeList(nodeToSyncMetadata); + //SyncDistributedObjectsToNodeList(nodeToSyncMetadata); /* * Sync node metadata. We must sync node metadata before syncing table