Skip to content

Commit bd8ff38

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 3521131 commit bd8ff38

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
@@ -96,7 +96,7 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader;
9696
(dest) = (segno) * XLOG_SEG_SIZE + (offset)
9797

9898
/*
99-
* Compute ID and segment from an XLogRecPtr.
99+
* Compute a segment number from an XLogRecPtr.
100100
*
101101
* For XLByteToSeg, do the computation at face value. For XLByteToPrevSeg,
102102
* a boundary byte is taken to be in the previous segment. This is suitable

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy