mirror of
https://github.com/postgres/postgres.git
synced 2026-06-08 00:02:47 -04:00
Fix comment.
XLByteToSeg and XLByteToPrevSeg calculate only a segment number. The
definition of these macros were modified by commit
dfda6ebaec but the comment remain
unchanged.
Patch by Yugo Nagata. Back patched to 9.3 and beyond.
This commit is contained in:
parent
23c20e83d6
commit
a282d1871c
1 changed files with 1 additions and 1 deletions
|
|
@ -120,7 +120,7 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
|
|||
(dest) = (segno) * XLOG_SEG_SIZE + (offset)
|
||||
|
||||
/*
|
||||
* Compute ID and segment from an XLogRecPtr.
|
||||
* Compute a segment number from an XLogRecPtr.
|
||||
*
|
||||
* For XLByteToSeg, do the computation at face value. For XLByteToPrevSeg,
|
||||
* a boundary byte is taken to be in the previous segment. This is suitable
|
||||
|
|
|
|||
Loading…
Reference in a new issue