@@ -646,18 +646,18 @@ data. Empty in ordinary tables.</entry>
646
646
<para>
647
647
648
648
The first 24 bytes of each page consists of a page header
649
- (PageHeaderData). Its format is detailed in <xref
650
- linkend="pageheaderdata-table">. The first two fields track the most
651
- recent WAL entry related to this page. Next is a 2-byte field
652
- containing flag bits. This is followed by three 2-byte integer fields
653
- (<structfield>pd_lower</structfield>, <structfield>pd_upper</structfield>,
654
- and <structfield>pd_special </structfield>). These contain byte offsets
655
- from the page start to the start
656
- of unallocated space, to the end of unallocated space, and to the start of
657
- the special space.
658
- The next 2 bytes of the page header,
659
- <structfield>pd_pagesize_version</structfield>, store both the page size
660
- and a version indicator. Beginning with
649
+ (<structname> PageHeaderData</> ). Its format is detailed in <xref
650
+ linkend="pageheaderdata-table">. The first field tracks the most
651
+ recent WAL entry related to this page. The second field contains
652
+ the page checksum if <xref linkend="app-initdb-data-checksums"> are
653
+ enabled. Next is a 2-byte field containing flag bits. This is followed
654
+ by three 2-byte integer fields ( <structfield>pd_lower </structfield>,
655
+ <structfield>pd_upper</structfield>, and
656
+ <structfield>pd_special</structfield>). These contain byte offsets
657
+ from the page start to the start of unallocated space, to the end of
658
+ unallocated space, and to the start of the special space. The next 2
659
+ bytes of the page header, <structfield>pd_pagesize_version</structfield>,
660
+ store both the page size and a version indicator. Beginning with
661
661
<productname>PostgreSQL</productname> 8.3 the version number is 4;
662
662
<productname>PostgreSQL</productname> 8.1 and 8.2 used version number 3;
663
663
<productname>PostgreSQL</productname> 8.0 used version number 2;
@@ -687,7 +687,7 @@ data. Empty in ordinary tables.</entry>
687
687
<tbody>
688
688
<row>
689
689
<entry>pd_lsn</entry>
690
- <entry>XLogRecPtr </entry>
690
+ <entry>PageXLogRecPtr </entry>
691
691
<entry>8 bytes</entry>
692
692
<entry>LSN: next byte after last byte of xlog record for last change
693
693
to this page</entry>
0 commit comments