diff options
author | Tatsuo Ishii <ishii@postgresql.org> | 2017-08-01 08:00:11 +0900 |
---|---|---|
committer | Tatsuo Ishii <ishii@postgresql.org> | 2017-08-01 08:08:32 +0900 |
commit | bd8ff38760080362aa3ee126ed9a5e4b0d32c2a8 (patch) | |
tree | c87e880c8dc1a8ce215248158b5fa6edbed07ace | |
parent | 3521131cb120ab5fb2f5a5b9cbf15003ef6b98ab (diff) | |
download | postgresql-bd8ff38760080362aa3ee126ed9a5e4b0d32c2a8.tar.gz postgresql-bd8ff38760080362aa3ee126ed9a5e4b0d32c2a8.zip |
Fix comment.
XLByteToSeg and XLByteToPrevSeg calculate only a segment number. The
definition of these macros were modified by commit
dfda6ebaec6763090fb78b458a979b558c50b39b but the comment remain
unchanged.
Patch by Yugo Nagata. Back patched to 9.3 and beyond.
-rw-r--r-- | src/include/access/xlog_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h index 0a595ccc481..5733cfb77ea 100644 --- a/src/include/access/xlog_internal.h +++ b/src/include/access/xlog_internal.h @@ -96,7 +96,7 @@ typedef XLogLongPageHeaderData *XLogLongPageHeader; (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, * a boundary byte is taken to be in the previous segment. This is suitable |