Re: pg_stat_replication view

2018-12-10 Thread Michael Paquier
On Mon, Dec 10, 2018 at 02:24:43PM -0500, Jeff Janes wrote: > What does this mean? Is the standby "caught up" when it replays the LSN > which was current on the master as-of the time that the standby initiated > this connection? Or is it caught up when the master receives at least one >

pg_stat_replication view

2018-12-10 Thread Jeff Janes
I'm not sure if this is a documentation issue, or something else. The description of the pg_stat_replication.state column gives: * catchup: This WAL sender's connected standby is catching up with the primary. * streaming: This WAL sender is streaming changes after its connected standby server