Content-Length: 257685 | pFad | http://github.com/postgrespro/postgres_cluster/commit/bd8ff38760080362aa3ee126ed9a5e4b0d32c2a8

29 Fix comment. · postgrespro/postgres_cluster@bd8ff38 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/bd8ff38760080362aa3ee126ed9a5e4b0d32c2a8

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy