diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-07-21 22:31:26 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-07-21 22:31:26 +0000 |
commit | 2042b3428d3947987b27dbd4598fd9a5716ec9e8 (patch) | |
tree | 99ba34f4b04e8e951dca70c31ab4edcdd3985e62 /doc/src | |
parent | 8d3517dc1f9383d606bd8e50a9b58e732322fffd (diff) | |
download | postgresql-2042b3428d3947987b27dbd4598fd9a5716ec9e8.tar.gz postgresql-2042b3428d3947987b27dbd4598fd9a5716ec9e8.zip |
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.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/page.sgml | 19 |
1 files changed, 10 insertions, 9 deletions
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 @@ <!-- -$PostgreSQL: pgsql/doc/src/sgml/page.sgml,v 1.17 2003/12/14 00:10:32 neilc Exp $ +$PostgreSQL: pgsql/doc/src/sgml/page.sgml,v 1.18 2004/07/21 22:31:18 tgl Exp $ --> <chapter id="page"> @@ -114,37 +114,38 @@ data. Empty in ordinary tables.</entry> <entry>pd_lsn</entry> <entry>XLogRecPtr</entry> <entry>8 bytes</entry> - <entry>LSN: next byte after last byte of xlog</entry> + <entry>LSN: next byte after last byte of xlog record for last change + to this page</entry> </row> <row> - <entry>pd_sui</entry> - <entry>StartUpID</entry> + <entry>pd_tli</entry> + <entry>TimeLineID</entry> <entry>4 bytes</entry> - <entry>SUI of last changes (currently it's used by heap AM only)</entry> + <entry>TLI of last change</entry> </row> <row> <entry>pd_lower</entry> <entry>LocationIndex</entry> <entry>2 bytes</entry> - <entry>Offset to start of free space.</entry> + <entry>Offset to start of free space</entry> </row> <row> <entry>pd_upper</entry> <entry>LocationIndex</entry> <entry>2 bytes</entry> - <entry>Offset to end of free space.</entry> + <entry>Offset to end of free space</entry> </row> <row> <entry>pd_special</entry> <entry>LocationIndex</entry> <entry>2 bytes</entry> - <entry>Offset to start of special space.</entry> + <entry>Offset to start of special space</entry> </row> <row> <entry>pd_pagesize_version</entry> <entry>uint16</entry> <entry>2 bytes</entry> - <entry>Page size and layout version number information.</entry> + <entry>Page size and layout version number information</entry> </row> </tbody> </tgroup> |