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

Commit0999ac4

Browse files
committed
Improve description of buffer used to store records in WAL reader
The dedicated private buffer to store records is used only for thesecrossing a page boundary since285bd0a, but its description did notmatch completely the reality.Reported-by: Andrey LepikhovAuthor: Michael PaquierDiscussion:https://postgr.es/m/49518b48-2036-5e43-1818-0f594e375e76@postgrespro.ru
1 parentea8bc34 commit0999ac4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

‎src/include/access/xlogreader.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,10 @@ struct XLogReaderState
185185
*/
186186
TimeLineIDnextTLI;
187187

188-
/* Buffer for current ReadRecord result (expandable) */
188+
/*
189+
* Buffer for current ReadRecord result (expandable), used when a record
190+
* crosses a page boundary.
191+
*/
189192
char*readRecordBuf;
190193
uint32readRecordBufSize;
191194

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp