From 62fac9ba83786c6364177d1d22c3c033161de08f Mon Sep 17 00:00:00 2001 From: Andres Freund Date: Fri, 17 May 2013 17:07:32 +0200 Subject: [PATCH] committs: mergme: add comment about wal logging committs in RecordTransactionCommit --- src/backend/access/transam/xact.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/backend/access/transam/xact.c b/src/backend/access/transam/xact.c index 9f58d975bc..5c3a57d315 100644 --- a/src/backend/access/transam/xact.c +++ b/src/backend/access/transam/xact.c @@ -1118,6 +1118,11 @@ RecordTransactionCommit(void) } } + /* + * We don't need to log the commit timestamp separately since the commit + * record logged above has all the necessary action to set the timestamp + * again. + */ TransactionTreeSetCommitTimestamp(xid, nchildren, children, xactStopTimestamp, 0, false); -- 2.39.5