8000 Fix comment. · dirbacke/postgres@a282d18 · GitHub
[go: up one dir, main page]

Skip to content

Commit a282d18

Browse files
committed
Fix comment.
XLByteToSeg and XLByteToPrevSeg calculate only a segment number. The definition of these macros were modified by commit dfda6eb but the comment remain unchanged. Patch by Yugo Nagata. Back patched to 9.3 and beyond.
1 parent 23c20e8 commit a282d18

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/include/access/xlog_internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
120120
(dest) = (segno) * XLOG_SEG_SIZE + (offset)
121121

122122
/*
123-
* Compute ID and segment from an XLogRecPtr.
123+
* Compute a segment number from an XLogRecPtr.
124124
*
125125
* For XLByteToSeg, do the computation at face value. For XLByteToPrevSeg,
126126
* a boundary byte is taken to be in the previous segment. This is suitable

0 commit comments

Comments
 (0)
0