From: Andres Freund Date: Fri, 17 May 2013 15:07:32 +0000 (+0200) Subject: committs: mergme: add comment about wal logging committs in RecordTransactionCommit X-Git-Url: http://git.postgresql.org/gitweb/static/documentation.html?a=commitdiff_plain;h=refs%2Fheads%2Fcommit_ts;p=users%2Fandresfreund%2Fpostgres.git committs: mergme: add comment about wal logging committs in RecordTransactionCommit --- 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);