pgsql: Include previous TLI in end-of-recovery and shutdown checkpoint - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Include previous TLI in end-of-recovery and shutdown checkpoint
Date
Msg-id E1U4w3o-000604-Uh@gemulon.postgresql.org
Whole thread Raw
Responses Re: pgsql: Include previous TLI in end-of-recovery and shutdown checkpoint
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/7803e9327db3788f68d820c19f4081afb79edd12

Modified Files
--------------
src/backend/access/rmgrdesc/xlogdesc.c  |    7 +++--
src/backend/access/transam/xlog.c       |   36 ++++++++++++++++++++++++++++--
src/bin/pg_controldata/pg_controldata.c |    2 +
src/bin/pg_resetxlog/pg_resetxlog.c     |    4 +++
src/include/access/xlog_internal.h      |    3 +-
src/include/catalog/pg_control.h        |    4 ++-
6 files changed, 48 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Further cleanup of gistsplit.c.
Next
From: Tom Lane
Date:
Subject: Re: pgsql: Include previous TLI in end-of-recovery and shutdown checkpoint