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

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Include previous TLI in end-of-recovery and shutdown checkpoint
Date: 2013-02-11 16:16:52
Message-ID: E1U4w3o-000604-Uh@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-02-11 16:28:16 Re: pgsql: Include previous TLI in end-of-recovery and shutdown checkpoint
Previous Message Tom Lane 2013-02-10 21:22:11 pgsql: Further cleanup of gistsplit.c.