Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6e22813

Browse files
committed
Fix comment in xlogreader.c
This has been introduced by709d003, that has moved readSegNo, readOffand readPageTLI into a new structure called WALOpenSegment initializedseparately.Author: Kyotaro HoriguchiDiscussion:https://postgr.es/m/20190926.110809.248342687.horikyota.ntt@gmail.com
1 parent7881bb1 commit6e22813

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)

[8]ページ先頭

©2009-2025 Movatter.jp