Skip to content

Commit 6e22813

Browse files
committed
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
1 parent 7881bb1 commit 6e22813

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/backend/access/transam/xlogreader.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ XLogReaderAllocate(int wal_segment_size, const char *waldir,
103103
state->read_page = pagereadfunc;
104104
/* system_identifier initialized to zeroes above */
105105
state->private_data = private_data;
106-
/* ReadRecPtr and EndRecPtr initialized to zeroes above */
107-
/* readSegNo, readOff, readLen, readPageTLI initialized to zeroes above */
106+
/* ReadRecPtr, EndRecPtr and readLen initialized to zeroes above */
108107
state->errormsg_buf = palloc_extended(MAX_ERRORMSG_LEN + 1,
109108
MCXT_ALLOC_NO_OOM);
110109
if (!state->errormsg_buf)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy