pgsql: Write exact xlog position of timeline switch in the timeline his - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Write exact xlog position of timeline switch in the timeline his
Date
Msg-id E1TfuR1-0000eW-2g@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Write exact xlog position of timeline switch in the timeline history file.

This allows us to do some more rigorous sanity checking for various
incorrect point-in-time recovery scenarios, and provides more information
for debugging purposes. It will also come handy in the upcoming patch to
allow timeline switches to be replicated by streaming replication.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/32f4de0adfb2037f1402e40b54a5c4043227363f

Modified Files
--------------
src/backend/access/transam/timeline.c |  144 +++++++++++++++++++++++-----
src/backend/access/transam/xlog.c     |  173 ++++++++++++++++++++------------
src/include/access/timeline.h         |   20 ++++-
3 files changed, 247 insertions(+), 90 deletions(-)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: In initdb.c, move auth warning code into main() from secondary f
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Downgrade a status message from LOG to DEBUG2.