Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbd8ff38

Browse files
committed
Fix comment.
XLByteToSeg and XLByteToPrevSeg calculate only a segment number. Thedefinition of these macros were modified by commitdfda6eb but the comment remainunchanged.Patch by Yugo Nagata. Back patched to 9.3 and beyond.
1 parent3521131 commitbd8ff38

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-
* ComputeID andsegment from an XLogRecPtr.
99+
* Computeasegment 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)

[8]ページ先頭

©2009-2025 Movatter.jp