diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/time/snapmgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/time/snapmgr.c b/src/backend/utils/time/snapmgr.c index 9d31e741b7..d26f894696 100644 --- a/src/backend/utils/time/snapmgr.c +++ b/src/backend/utils/time/snapmgr.c @@ -176,7 +176,7 @@ GetTransactionSnapshot(void) * The command id should therefore be updated in the * current snapshot. */ - if (IS_PGXC_DATANODE) + if (IsConnFromCoord()) SnapshotSetCommandId(GetCurrentCommandId(false)); #endif return CurrentSnapshot; |