Skip to content

Commit 670475b

Browse files
committed
Fix obsolete comment in commit_ts.c.
Commit 08aa89b removed COMMIT_TS_SETTS, but left a reference in a comment. Author: Nathan Bossart <nathandbossart@gmail.com> Discussion: https://postgr.es/m/20220726173343.GA154110%40nathanxps13
1 parent 01126dc commit 670475b

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/backend/access/transam/commit_ts.c

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,10 @@
77
* for each transaction.
88
*
99
* XLOG interactions: this module generates an XLOG record whenever a new
10-
* CommitTs page is initialized to zeroes. Also, one XLOG record is
11-
* generated for setting of values when the caller requests it; this allows
12-
* us to support values coming from places other than transaction commit.
13-
* Other writes of CommitTS come from recording of transaction commit in
14-
* xact.c, which generates its own XLOG records for these events and will
15-
* re-perform the status update on redo; so we need make no additional XLOG
16-
* entry here.
10+
* CommitTs page is initialized to zeroes. Other writes of CommitTS come
11+
* from recording of transaction commit in xact.c, which generates its own
12+
* XLOG records for these events and will re-perform the status update on
13+
* redo; so we need make no additional XLOG entry here.
1714
*
1815
* Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
1916
* Portions Copyright (c) 1994, Regents of the University of California

0 commit comments

Comments
 (0)