Re: [HACKERS] make async slave to wait for lsn to be replayed - Mailing list pgsql-hackers

From i.kartyshov@postgrespro.ru
Subject Re: [HACKERS] make async slave to wait for lsn to be replayed
Date
Msg-id 45fd50e15a0809a6b837cd8eafe251d7@postgrespro.ru
Whole thread Raw
In response to Re: [HACKERS] make async slave to wait for lsn to be replayed  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
I forget to include patch in last letter.

Craig Ringer wrote 2017-08-15 05:00:
> That ship sailed a long time ago unfortunately, they're all over
> pg_stat_replication and pg_replication_slots and so on. They're
> already routinely used for monitoring replication lag in bytes,
> waiting for a peer to catch up, etc.
> 
> --
> 
>  Craig Ringer                   http://www.2ndQuadrant.com/
>  PostgreSQL Development, 24x7 Support, Training & Services

Function pg_replication_slots is only master, and waitlsn is async hot 
standby replication function. It allows us to wait untill insert made on 
master is be replayed on replica.

-- 
Ivan Kartyshov
Postgres Professional: http://www.postgrespro.com
Russian Postgres Company
-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [HACKERS] Proposal: pg_rewind to skip config files
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] obsolete code in pg_upgrade