Re: make async slave to wait for lsn to be replayed

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Ants Aasma <ants.aasma@eesti.ee>
Cc: Ivan Kartyshov <i.kartyshov@postgrespro.ru>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2017-10-26T15:09:43Z
Lists: pgsql-hackers
On Thu, Oct 26, 2017 at 4:29 PM, Ants Aasma <ants.aasma@eesti.ee> wrote:
> If the UI
> were something like "WAITVISIBILITY token", then we can later change
> the token to something other than LSN.

That assumes, probably optimistically, that nobody will develop a
dependency on it being, precisely, an LSN.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


Commits

  1. Implement waiting for given lsn at transaction start