On Sat, 25 Apr 2020 09:31:14 +0900 Michael Paquier <[email protected]> wrote:
> On Fri, Apr 24, 2020 at 05:30:21PM +0900, Kyotaro Horiguchi wrote: > > I think we can reimplement them by waiting > > pg_stat_archiver.last_failed_wal at least for archive_mode=always > > case. I'm not sure about the case where archive_mode=on, though. > > Yeah, the second case is more tricky, and there is no point to add a > poll query using pg_stat_file() on a .ready file either. I suggested a patch in the original thread, waiting for the LSN gathered on the primary.
