Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+1-2
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)