Re: Logical replication

From: Michael Lewis <mlewis(at)entrata(dot)com>
To: Konireddy Rajashekar <rajkonireddy(at)gmail(dot)com>
Cc: "pgsql-generallists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Logical replication
Date: 2020-04-06 16:18:37
Message-ID: CAHOFxGpSWk5dsjECAO-csBacDbmXTrAMWP1tnqs40t61y+rzhg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrus 2020-04-06 21:50:27 Re: How to prevent master server crash if hot standby stops
Previous Message Laurenz Albe 2020-04-06 13:51:07 Re: How to prevent master server crash if hot standby stops