mirror of
https://github.com/postgres/postgres.git
synced 2025-10-24 01:29:19 +03:00
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.
This commit is contained in:
@@ -221,7 +221,8 @@ typedef struct xl_restore_point
|
||||
typedef struct xl_end_of_recovery
|
||||
{
|
||||
TimestampTz end_time;
|
||||
TimeLineID ThisTimeLineID;
|
||||
TimeLineID ThisTimeLineID; /* new TLI */
|
||||
TimeLineID PrevTimeLineID; /* previous TLI we forked off from */
|
||||
} xl_end_of_recovery;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user