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

From Peter Eisentraut
Subject Re: [HACKERS] make async slave to wait for lsn to be replayed
Date
Msg-id b45ff979-9d12-4828-a22a-e4cb327e115c@eisentraut.org
Whole thread Raw
In response to Re: [HACKERS] make async slave to wait for lsn to be replayed  (Kartyshov Ivan <i.kartyshov@postgrespro.ru>)
Responses Re: [HACKERS] make async slave to wait for lsn to be replayed
List pgsql-hackers
On 19.03.24 18:38, Kartyshov Ivan wrote:
>               CALL pg_wait_lsn('0/3002AE8', 10000);
>               BEGIN;
>               SELECT * FROM tbl; // read fresh insertions
>               COMMIT;

I'm not endorsing this or any other approach, but I think the timeout 
parameter should be of type interval, not an integer with a unit that is 
hidden in the documentation.




pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: DRAFT: Pass sk_attno to consistent function
Next
From: Vik Fearing
Date:
Subject: Re: Catalog domain not-null constraints