aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-09-26 11:53:37 +0900
committerMichael Paquier <michael@paquier.xyz>2019-09-26 11:53:37 +0900
commit6e22813b2d6083afa2b5af1612a834b3ffae3389 (patch)
tree3d34e5c7d40e87deb7f531667b35ad1c99351240 /src
parent7881bb14f4b23e8dc8671938cfb3f34117c12d8b (diff)
downloadpostgresql-6e22813b2d6083afa2b5af1612a834b3ffae3389.tar.gz
postgresql-6e22813b2d6083afa2b5af1612a834b3ffae3389.zip
Fix comment in xlogreader.c
This has been introduced by 709d003, that has moved readSegNo, readOff and readPageTLI into a new structure called WALOpenSegment initialized separately. Author: Kyotaro Horiguchi Discussion: https://postgr.es/m/20190926.110809.248342687.horikyota.ntt@gmail.com
Diffstat (limited to 'src')
-rw-r--r--src/backend/access/transam/xlogreader.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlogreader.c b/src/backend/access/transam/xlogreader.c
index 27c27303d6c..c8b0d2303d3 100644
--- a/src/backend/access/transam/xlogreader.c
+++ b/src/backend/access/transam/xlogreader.c
@@ -103,8 +103,7 @@ XLogReaderAllocate(int wal_segment_size, const char *waldir,
state->read_page = pagereadfunc;
/* system_identifier initialized to zeroes above */
state->private_data = private_data;
- /* ReadRecPtr and EndRecPtr initialized to zeroes above */
- /* readSegNo, readOff, readLen, readPageTLI initialized to zeroes above */
+ /* ReadRecPtr, EndRecPtr and readLen initialized to zeroes above */
state->errormsg_buf = palloc_extended(MAX_ERRORMSG_LEN + 1,
MCXT_ALLOC_NO_OOM);
if (!state->errormsg_buf)