Unmark dropped tabled on worker

velioglu/wo_seq_test_1
Burak Velioglu 2021-12-28 10:52:31 +03:00
parent 880533a609
commit 416196b9be
No known key found for this signature in database
GPG Key ID: F6827E620F6549C6
1 changed files with 2 additions and 0 deletions

View File

@ -98,6 +98,8 @@ worker_drop_distributed_table(PG_FUNCTION_ARGS)
UnmarkObjectDistributed(&ownedSequenceAddress); UnmarkObjectDistributed(&ownedSequenceAddress);
} }
UnmarkObjectDistributed(&distributedTableObject);
/* drop the server for the foreign relations */ /* drop the server for the foreign relations */
if (relationKind == RELKIND_FOREIGN_TABLE) if (relationKind == RELKIND_FOREIGN_TABLE)
{ {