diff options
| author | Pavan Deolasee | 2014-12-16 13:12:54 +0000 |
|---|---|---|
| committer | Pavan Deolasee | 2015-04-15 05:46:42 +0000 |
| commit | 255fb63ceacae6bd1060f3dd391cec441f58b8eb (patch) | |
| tree | 4211ae4194d35556c12615f6c91f8350d945b26a /src | |
| parent | 402c1fbd0ef42b65b2df08ac8e1f4b43eff04d3e (diff) | |
Consume command ID once its used for remote utility statement
This ensures that the subsequent command to the remote node gets a higher
numbered command ID
Diffstat (limited to 'src')
| -rw-r--r-- | src/backend/pgxc/pool/execRemote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/pgxc/pool/execRemote.c b/src/backend/pgxc/pool/execRemote.c index 4a2fe3dd27..a807dcfa7d 100644 --- a/src/backend/pgxc/pool/execRemote.c +++ b/src/backend/pgxc/pool/execRemote.c @@ -5831,7 +5831,7 @@ ExecRemoteUtility(RemoteQuery *node) ExecDirectType exec_direct_type = node->exec_direct_type; int i; #ifdef XCP - CommandId cid = GetCurrentCommandId(false); + CommandId cid = GetCurrentCommandId(true); #endif if (!force_autocommit) |
