postgresql/src/backend/access
Heikki Linnakangas 5ce108bf32 Track the timeline associated with minRecoveryPoint, for more sanity checks.
This allows recovery to notice certain incorrect recovery scenarios.
If a server has recovered to point X on timeline 5, and you restart
recovery, it better be on timeline 5 when it reaches point X again, not on
some timeline with a higher ID. This can happen e.g if you a standby server
is shut down, a new timeline appears in the WAL archive, and the standby
server is restarted. It will try to follow the new timeline, which is wrong
because some WAL on the old timeline was already replayed before shutdown.

Requires an initdb (or at least pg_resetxlog), because this adds a field to
the control file.
2012-12-04 11:31:00 +02:00
..
common Split tuple struct defs from htup.h to htup_details.h 2012-08-30 16:52:35 -04:00
gin Split out rmgr rm_desc functions into their own files 2012-11-28 13:01:15 -03:00
gist Split out rmgr rm_desc functions into their own files 2012-11-28 13:01:15 -03:00
hash Split out rmgr rm_desc functions into their own files 2012-11-28 13:01:15 -03:00
heap Reduce scope of changes for COPY FREEZE. 2012-12-02 20:52:52 +00:00
index Split heapam_xlog.h from heapam.h 2012-08-28 19:02:00 -04:00
nbtree Split out rmgr rm_desc functions into their own files 2012-11-28 13:01:15 -03:00
rmgrdesc Split out rmgr rm_desc functions into their own files 2012-11-28 13:01:15 -03:00
spgist Split out rmgr rm_desc functions into their own files 2012-11-28 13:01:15 -03:00
transam Track the timeline associated with minRecoveryPoint, for more sanity checks. 2012-12-04 11:31:00 +02:00
Makefile Split out rmgr rm_desc functions into their own files 2012-11-28 13:01:15 -03:00