Write exact xlog position of timeline switch in the timeline history file.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/timeline.c | modified | +120 −24 |
| src/backend/access/transam/xlog.c | modified | +108 −65 |
| src/include/access/timeline.h | modified | +19 −1 |