From 2042b3428d3947987b27dbd4598fd9a5716ec9e8 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Wed, 21 Jul 2004 22:31:26 +0000 Subject: Invent WAL timelines, as per recent discussion, to make point-in-time recovery more manageable. Also, undo recent change to add FILE_HEADER and WASTED_SPACE records to XLOG; instead make the XLOG page header variable-size with extra fields in the first page of an XLOG file. This should fix the boundary-case bugs observed by Mark Kirkwood. initdb forced due to change of XLOG representation. --- doc/src/sgml/page.sgml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/page.sgml b/doc/src/sgml/page.sgml index ee619093a37..ebafa46598f 100644 --- a/doc/src/sgml/page.sgml +++ b/doc/src/sgml/page.sgml @@ -1,5 +1,5 @@ @@ -114,37 +114,38 @@ data. Empty in ordinary tables. pd_lsn XLogRecPtr 8 bytes - LSN: next byte after last byte of xlog + LSN: next byte after last byte of xlog record for last change + to this page - pd_sui - StartUpID + pd_tli + TimeLineID 4 bytes - SUI of last changes (currently it's used by heap AM only) + TLI of last change pd_lower LocationIndex 2 bytes - Offset to start of free space. + Offset to start of free space pd_upper LocationIndex 2 bytes - Offset to end of free space. + Offset to end of free space pd_special LocationIndex 2 bytes - Offset to start of special space. + Offset to start of special space pd_pagesize_version uint16 2 bytes - Page size and layout version number information. + Page size and layout version number information -- cgit v1.2.3