@@ -625,18 +625,18 @@ data. Empty in ordinary tables.</entry>
625
625
<para>
626
626
627
627
The first 24 bytes of each page consists of a page header
628
- (PageHeaderData). Its format is detailed in <xref
629
- linkend="pageheaderdata-table">. The first two fields track the most
630
- recent WAL entry related to this page. Next is a 2-byte field
631
- containing flag bits. This is followed by three 2-byte integer fields
632
- (<structfield>pd_lower</structfield>, <structfield>pd_upper</structfield>,
633
- and <structfield>pd_special </structfield>). These contain byte offsets
634
- from the page start to the start
635
- of unallocated space, to the end of unallocated space, and to the start of
636
- the special space.
637
- The next 2 bytes of the page header,
638
- <structfield>pd_pagesize_version</structfield>, store both the page size
639
- and a version indicator. Beginning with
628
+ (<structname> PageHeaderData</> ). Its format is detailed in <xref
629
+ linkend="pageheaderdata-table">. The first field tracks the most
630
+ recent WAL entry related to this page. The second field contains
631
+ the page checksum if <xref linkend="app-initdb-data-checksums"> are
632
+ enabled. Next is a 2-byte field containing flag bits. This is followed
633
+ by three 2-byte integer fields ( <structfield>pd_lower </structfield>,
634
+ <structfield>pd_upper</structfield>, and
635
+ <structfield>pd_special</structfield>). These contain byte offsets
636
+ from the page start to the start of unallocated space, to the end of
637
+ unallocated space, and to the start of the special space. The next 2
638
+ bytes of the page header, <structfield>pd_pagesize_version</structfield>,
639
+ store both the page size and a version indicator. Beginning with
640
640
<productname>PostgreSQL</productname> 8.3 the version number is 4;
641
641
<productname>PostgreSQL</productname> 8.1 and 8.2 used version number 3;
642
642
<productname>PostgreSQL</productname> 8.0 used version number 2;
@@ -666,7 +666,7 @@ data. Empty in ordinary tables.</entry>
666
666
<tbody>
667
667
<row>
668
668
<entry>pd_lsn</entry>
669
- <entry>XLogRecPtr </entry>
669
+ <entry>PageXLogRecPtr </entry>
670
670
<entry>8 bytes</entry>
671
671
<entry>LSN: next byte after last byte of xlog record for last change
672
672
to this page</entry>
0 commit comments