aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2022-08-09 12:55:45 +1200
committerThomas Munro <tmunro@postgresql.org>2022-08-09 12:58:04 +1200
commit670475b2fa4bc683edf3d595292ce696496f6b49 (patch)
tree194924584c51b2cd9dd807160eb9589fcdc764cb /src/backend/access/transam/commit_ts.c
parent01126dc8cf2c6e06babf1bbb4dab41a4a96d704f (diff)
downloadpostgresql-670475b2fa4bc683edf3d595292ce696496f6b49.tar.gz
postgresql-670475b2fa4bc683edf3d595292ce696496f6b49.zip
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
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
-rw-r--r--src/backend/access/transam/commit_ts.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/backend/access/transam/commit_ts.c b/src/backend/access/transam/commit_ts.c
index 4dc8d402bd3..9aa4675cb79 100644
--- a/src/backend/access/transam/commit_ts.c
+++ b/src/backend/access/transam/commit_ts.c
@@ -7,13 +7,10 @@
* for each transaction.
*
* XLOG interactions: this module generates an XLOG record whenever a new
- * CommitTs page is initialized to zeroes. Also, one XLOG record is
- * generated for setting of values when the caller requests it; this allows
- * us to support values coming from places other than transaction commit.
- * Other writes of CommitTS come from recording of transaction commit in
- * xact.c, which generates its own XLOG records for these events and will
- * re-perform the status update on redo; so we need make no additional XLOG
- * entry here.
+ * CommitTs page is initialized to zeroes. Other writes of CommitTS come
+ * from recording of transaction commit in xact.c, which generates its own
+ * XLOG records for these events and will re-perform the status update on
+ * redo; so we need make no additional XLOG entry here.
*
* Portions Copyright (c) 1996-2022, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California