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

From [email protected]
Subject Re: [HACKERS] make async slave to wait for lsn to be replayed
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: [HACKERS] make async slave to wait for lsn to be replayed  (Craig Ringer <[email protected]>)
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 ([email protected])
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