diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-02-11 18:13:09 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2013-02-11 18:16:25 +0200 |
commit | 7803e9327db3788f68d820c19f4081afb79edd12 (patch) | |
tree | 8d9e4668125df8023c4a59e9060b19dcb5b940d6 /src/include/access/xlog_internal.h | |
parent | c352ea2d74c4e317bf2a1471ec1f750f9f072276 (diff) |
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.
Diffstat (limited to 'src/include/access/xlog_internal.h')
-rw-r--r-- | src/include/access/xlog_internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/access/xlog_internal.h b/src/include/access/xlog_internal.h index 34c659314ce..16b53e37260 100644 --- a/src/include/access/xlog_internal.h +++ b/src/include/access/xlog_internal.h @@ -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; /* |