Change detachpartition nodewide object commands

velioglu/wo_seq_test_1
Burak Velioglu 2022-01-23 00:01:02 +03:00
parent 368e4dbb74
commit 3c9aa360f5
No known key found for this signature in database
GPG Key ID: F6827E620F6549C6
1 changed files with 5 additions and 5 deletions

View File

@ -746,17 +746,17 @@ SyncObjectDependenciesCommandList(WorkerNode *workerNode)
{
List *commandList = NIL;
/*
* Propagate node wide objects. It includes only roles for now.
*/
commandList = list_concat(commandList, PropagateNodeWideObjectsCommandList());
/*
* Detach partitions and remove shell tables first.
*/
commandList = list_concat(commandList, DetachPartitionCommandList());
commandList = lappend(commandList, REMOVE_ALL_SHELL_TABLES_COMMAND);
/*
* Propagate node wide objects. It includes only roles for now.
*/
commandList = list_concat(commandList, PropagateNodeWideObjectsCommandList());
/*
* Replicate all objects of the pg_dist_object to the remote node.
*/