diff options
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r-- | src/backend/access/transam/xlog.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 5a06ae2a4a3..50e2b22dd70 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -8019,18 +8019,9 @@ CreateCheckPoint(int flags) * * If we are shutting down, or Startup process is completing crash * recovery we don't need to write running xact data. - * - * Update checkPoint.nextXid since we may have a later value. If we - * do update the value, and we have wrapped, increment epoch also. */ if (!shutdown && XLogStandbyInfoActive()) - { - TransactionId prevXid = checkPoint.nextXid; - - LogStandbySnapshot(&checkPoint.nextXid); - if (checkPoint.nextXid < prevXid) - checkPoint.nextXidEpoch++; - } + LogStandbySnapshot(); START_CRIT_SECTION(); |