From 489aa73257650aac24e1d92d5d9711ae45dcfb6e Mon Sep 17 00:00:00 2001 From: Jason Petersen Date: Tue, 25 Apr 2017 12:25:37 -0600 Subject: [PATCH] Add missing CCI call in metadata seq sync Be explicit about the fact that we've made a modification: we need subsequent commands to see this sequence. --- src/backend/distributed/worker/worker_data_fetch_protocol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/backend/distributed/worker/worker_data_fetch_protocol.c b/src/backend/distributed/worker/worker_data_fetch_protocol.c index f86b20726..3fe98fdf4 100644 --- a/src/backend/distributed/worker/worker_data_fetch_protocol.c +++ b/src/backend/distributed/worker/worker_data_fetch_protocol.c @@ -482,6 +482,7 @@ worker_apply_sequence_command(PG_FUNCTION_ARGS) /* run the CREATE SEQUENCE command */ ProcessUtility(commandNode, commandString, PROCESS_UTILITY_TOPLEVEL, NULL, None_Receiver, NULL); + CommandCounterIncrement(); createSequenceStatement = (CreateSeqStmt *) commandNode;