Write exact xlog position of timeline switch in the timeline history file.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 4 Dec 2012 13:28:58 +0000 (15:28 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Tue, 4 Dec 2012 15:29:07 +0000 (17:29 +0200)
commit32f4de0adfb2037f1402e40b54a5c4043227363f
tree7f987db6ac130b6a4db3a4d667fb279f2976dbc3
parenta84c30dda57a177487336785927503064c6bd529
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.
src/backend/access/transam/timeline.c
src/backend/access/transam/xlog.c
src/include/access/timeline.h