]> granicus.if.org Git - postgresql/commit
Invent WAL timelines, as per recent discussion, to make point-in-time
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Jul 2004 22:31:26 +0000 (22:31 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 21 Jul 2004 22:31:26 +0000 (22:31 +0000)
commit2042b3428d3947987b27dbd4598fd9a5716ec9e8
tree99ba34f4b04e8e951dca70c31ab4edcdd3985e62
parent8d3517dc1f9383d606bd8e50a9b58e732322fffd
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.
26 files changed:
doc/src/sgml/page.sgml
src/backend/access/heap/heapam.c
src/backend/access/nbtree/nbtinsert.c
src/backend/access/nbtree/nbtpage.c
src/backend/access/nbtree/nbtsort.c
src/backend/access/nbtree/nbtxlog.c
src/backend/access/transam/recovery.conf.sample
src/backend/access/transam/rmgr.c
src/backend/access/transam/slru.c
src/backend/access/transam/xlog.c
src/backend/access/transam/xlogutils.c
src/backend/commands/sequence.c
src/backend/commands/tablecmds.c
src/backend/commands/vacuum.c
src/backend/commands/vacuumlazy.c
src/backend/postmaster/pgarch.c
src/backend/storage/lmgr/deadlock.c
src/bin/pg_controldata/pg_controldata.c
src/bin/pg_resetxlog/pg_resetxlog.c
src/include/access/xact.h
src/include/access/xlog.h
src/include/access/xlog_internal.h [new file with mode: 0644]
src/include/access/xlogdefs.h
src/include/access/xlogutils.h
src/include/catalog/pg_control.h
src/include/storage/bufpage.h