Re: Logical replication - Mailing list pgsql-general

From Michael Lewis
Subject Re: Logical replication
Date
Msg-id CAHOFxGpSWk5dsjECAO-csBacDbmXTrAMWP1tnqs40t61y+rzhg@mail.gmail.com
Whole thread Raw
In response to Logical replication  (Konireddy Rajashekar <rajkonireddy@gmail.com>)
Responses Re: Logical replication
List pgsql-general
There is nothing native to compute this. This was asked a month or so ago. The best the poster came up with was a regular query on master DB which updates a timestamptz field. Assuming master and slave have clocks in sync, it is simple to compute the lag from that.

pgsql-general by date:

Previous
From: Laurenz Albe
Date:
Subject: Re: How to prevent master server crash if hot standby stops
Next
From: "Andrus"
Date:
Subject: Re: How to prevent master server crash if hot standby stops