Re: Expose last replayed timeline ID along with last replayed LSN

2022-07-19 Thread Bharath Rupireddy
On Wed, Jul 20, 2022 at 7:06 AM Kyotaro Horiguchi wrote: > > At Tue, 19 Jul 2022 14:28:40 +0530, Bharath Rupireddy > wrote in > > Hi, > > > > At times it's useful to know the last replayed WAL record's timeline > > ID (especially on the standbys that are lagging in applying WAL while > > failing

Re: Expose last replayed timeline ID along with last replayed LSN

2022-07-19 Thread Kyotaro Horiguchi
At Tue, 19 Jul 2022 14:28:40 +0530, Bharath Rupireddy wrote in > Hi, > > At times it's useful to know the last replayed WAL record's timeline > ID (especially on the standbys that are lagging in applying WAL while > failing over - for reporting, logging and debugging purposes). AFICS, > there's

Expose last replayed timeline ID along with last replayed LSN

2022-07-19 Thread Bharath Rupireddy
Hi, At times it's useful to know the last replayed WAL record's timeline ID (especially on the standbys that are lagging in applying WAL while failing over - for reporting, logging and debugging purposes). AFICS, there's no function that exposes the last replayed TLI. We can either change the exis