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

Commitda9f6a7

Browse files
committed
Fix incorrect comment about XLogRecordBlockHeader.data_length field.
It does not include the possible full-page image. While at it, reformat thecomment slightly to make it more readable.Reported by Rahila Syed
1 parent0916eba commitda9f6a7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎src/include/access/xlogrecord.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,12 @@ typedef struct XLogRecord
7373
/*
7474
* Header info for block data appended to an XLOG record.
7575
*
76+
* 'data_length' is the length of the rmgr-specific payload data associated
77+
* with this block. It does not include the possible full page image, nor
78+
* XLogRecordBlockHeader struct itself.
79+
*
7680
* Note that we don't attempt to align the XLogRecordBlockHeader struct!
7781
* So, the struct must be copied to aligned local storage before use.
78-
* 'data_length' is the length of the payload data associated with this,
79-
* and includes the possible full-page image, and rmgr-specific data. It
80-
* does not include the XLogRecordBlockHeader struct itself.
8182
*/
8283
typedefstructXLogRecordBlockHeader
8384
{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp