diff options
author | Andres Freund | 2013-05-17 15:07:32 +0000 |
---|---|---|
committer | Andres Freund | 2013-05-17 15:07:32 +0000 |
commit | 62fac9ba83786c6364177d1d22c3c033161de08f (patch) | |
tree | ef384681d1c9819788e1dab8b5d4064bf4bbbcd5 | |
parent | e37583a504fb0287d3930413fdfd0042d4b3fca2 (diff) |
committs: mergme: add comment about wal logging committs in RecordTransactionCommitcommit_ts
-rw-r--r-- | src/backend/access/transam/xact.c | 5 |
1 files changed, 5 insertions, 0 deletions
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); |