]> granicus.if.org Git - postgresql/commit
Include previous TLI in end-of-recovery and shutdown checkpoint records.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 11 Feb 2013 16:13:09 +0000 (18:13 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 11 Feb 2013 16:16:25 +0000 (18:16 +0200)
commit7803e9327db3788f68d820c19f4081afb79edd12
tree8d9e4668125df8023c4a59e9060b19dcb5b940d6
parentc352ea2d74c4e317bf2a1471ec1f750f9f072276
Include previous TLI in end-of-recovery and shutdown checkpoint records.

This isn't used for anything but a sanity check at the moment, but it could
be highly valuable for debugging purposes. It could also be used to recreate
timeline history by traversing WAL, which seems useful.
src/backend/access/rmgrdesc/xlogdesc.c
src/backend/access/transam/xlog.c
src/bin/pg_controldata/pg_controldata.c
src/bin/pg_resetxlog/pg_resetxlog.c
src/include/access/xlog_internal.h
src/include/catalog/pg_control.h