mirror of
https://github.com/postgres/postgres.git
synced 2026-04-11 20:16:33 -04:00
Fix thinko in comment.
WAL segment means a 16 MB physical WAL file; this comment meant a logical 4 GB log file. Amit Langote. Apply to backbranches only, as the comment is gone in master.
This commit is contained in:
parent
2751c7f739
commit
5f14acdebc
1 changed files with 1 additions and 1 deletions
|
|
@ -3716,7 +3716,7 @@ ReadRecord(XLogRecPtr *RecPtr, int emode, bool fetching_ckpt)
|
|||
if (XLOG_BLCKSZ - (RecPtr->xrecoff % XLOG_BLCKSZ) < SizeOfXLogRecord)
|
||||
NextLogPage(*RecPtr);
|
||||
|
||||
/* Check for crossing of xlog segment boundary */
|
||||
/* Check for crossing of xlog logid boundary */
|
||||
if (RecPtr->xrecoff >= XLogFileSize)
|
||||
{
|
||||
(RecPtr->xlogid)++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue