Include previous TLI in end-of-recovery and shutdown checkpoint records.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/rmgrdesc/xlogdesc.c | modified | +4 −3 |
| src/backend/access/transam/xlog.c | modified | +33 −3 |
| src/bin/pg_controldata/pg_controldata.c | modified | +2 −0 |
| src/bin/pg_resetxlog/pg_resetxlog.c | modified | +4 −0 |
| src/include/access/xlog_internal.h | modified | +2 −1 |
| src/include/catalog/pg_control.h | modified | +3 −1 |