@@ -758,18 +758,18 @@ data. Empty in ordinary tables.</entry>
758
758
<para>
759
759
760
760
The first 24 bytes of each page consists of a page header
761
- (PageHeaderData). Its format is detailed in <xref
762
- linkend="pageheaderdata-table">. The first two fields track the most
763
- recent WAL entry related to this page. Next is a 2-byte field
764
- containing flag bits. This is followed by three 2-byte integer fields
765
- (<structfield>pd_lower</structfield>, <structfield>pd_upper</structfield>,
766
- and <structfield>pd_special </structfield>). These contain byte offsets
767
- from the page start to the start
768
- of unallocated space, to the end of unallocated space, and to the start of
769
- the special space.
770
- The next 2 bytes of the page header,
771
- <structfield>pd_pagesize_version</structfield>, store both the page size
772
- and a version indicator. Beginning with
761
+ (<structname> PageHeaderData</> ). Its format is detailed in <xref
762
+ linkend="pageheaderdata-table">. The first field tracks the most
763
+ recent WAL entry related to this page. The second field contains
764
+ the page checksum if <xref linkend="app-initdb-data-checksums"> are
765
+ enabled. Next is a 2-byte field containing flag bits. This is followed
766
+ by three 2-byte integer fields ( <structfield>pd_lower </structfield>,
767
+ <structfield>pd_upper</structfield>, and
768
+ <structfield>pd_special</structfield>). These contain byte offsets
769
+ from the page start to the start of unallocated space, to the end of
770
+ unallocated space, and to the start of the special space. The next 2
771
+ bytes of the page header, <structfield>pd_pagesize_version</structfield>,
772
+ store both the page size and a version indicator. Beginning with
773
773
<productname>PostgreSQL</productname> 8.3 the version number is 4;
774
774
<productname>PostgreSQL</productname> 8.1 and 8.2 used version number 3;
775
775
<productname>PostgreSQL</productname> 8.0 used version number 2;
@@ -799,7 +799,7 @@ data. Empty in ordinary tables.</entry>
799
799
<tbody>
800
800
<row>
801
801
<entry>pd_lsn</entry>
802
- <entry>XLogRecPtr </entry>
802
+ <entry>PageXLogRecPtr </entry>
803
803
<entry>8 bytes</entry>
804
804
<entry>LSN: next byte after last byte of xlog record for last change
805
805
to this page</entry>
0 commit comments