Commit e662ef0f authored by Tatsuo Ishii's avatar Tatsuo Ishii

Fix comment.

XLByteToSeg and XLByteToPrevSeg calculate only a segment number.  The
definition of these macros were modified by commit
dfda6eba but the comment remain
unchanged.

Patch by Yugo Nagata. Back patched to 9.3 and beyond.
parent 0b02e3f1
...@@ -96,7 +96,7 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader; ...@@ -96,7 +96,7 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
(dest) = (segno) * XLOG_SEG_SIZE + (offset) (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, * For XLByteToSeg, do the computation at face value. For XLByteToPrevSeg,
* a boundary byte is taken to be in the previous segment. This is suitable * a boundary byte is taken to be in the previous segment. This is suitable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment