Is it possible to find out write_lsn on standby?

From: godjan • <g0dj4n(at)gmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Is it possible to find out write_lsn on standby?
Date: 2020-05-08 13:25:02
Message-ID: F5711C73-77D3-4988-87B6-6A5C47C4384F@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On primary I can execute ’SELECT write_lsn FROM pg_stat_replication;’ and get write_lsn of standby.
I didn’t find function like "pg_last_write_lsn()” to get write_lsn on standby. Is it possible?

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2020-05-08 13:32:50 making update/delete of inheritance trees scale better
Previous Message Movead Li 2020-05-08 12:43:50 POC and rebased patch for CSN based snapshots