Skip to content

Commit da9f6a7

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

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
typedef struct XLogRecordBlockHeader
8384
{

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