public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: Mixed field in table 70.3
Date: Wed, 27 Apr 2022 12:50:30 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
PG Doc comments form <[email protected]> writes:
> Page: https://www.postgresql.org/docs/14/storage-page-layout.html
> The 7th line states:
> pd_pagesize_version uint16 2 bytes Page size and layout version number
> information
> In fact there are two smallints, so the table should show two attributes:
> pd_pagesize uint16 2 bytes Page size
> version uint16 2 bytes Layout version number information
No, I don't think so --- this documentation matches the actual code,
in bufpage.h:
...
LocationIndex pd_lower; /* offset to start of free space */
LocationIndex pd_upper; /* offset to end of free space */
LocationIndex pd_special; /* offset to start of special space */
uint16 pd_pagesize_version;
TransactionId pd_prune_xid; /* oldest prunable XID, or zero if none */
ItemIdData pd_linp[FLEXIBLE_ARRAY_MEMBER]; /* line pointer array */
...
regards, tom lane
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Mixed field in table 70.3
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox