diff options
| author | Michael Paquier | 2018-11-20 23:43:32 +0000 |
|---|---|---|
| committer | Michael Paquier | 2018-11-20 23:43:32 +0000 |
| commit | 0999ac479292c12a7c373e612b15e1ff47077990 (patch) | |
| tree | 5bd69550ca6b9149c4ac34789acdf3c616c4e910 /src/include | |
| parent | ea8bc349bd1d92a882d636b535723b36366d9fbe (diff) | |
Improve description of buffer used to store records in WAL reader
The dedicated private buffer to store records is used only for these
crossing a page boundary since 285bd0ac, but its description did not
match completely the reality.
Reported-by: Andrey Lepikhov
Author: Michael Paquier
Discussion: https://postgr.es/m/[email protected]
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/access/xlogreader.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/access/xlogreader.h b/src/include/access/xlogreader.h index 40116f8ecb4..44ca2bc2fda 100644 --- a/src/include/access/xlogreader.h +++ b/src/include/access/xlogreader.h @@ -185,7 +185,10 @@ struct XLogReaderState */ TimeLineID nextTLI; - /* Buffer for current ReadRecord result (expandable) */ + /* + * Buffer for current ReadRecord result (expandable), used when a record + * crosses a page boundary. + */ char *readRecordBuf; uint32 readRecordBufSize; |
