Re: [HACKERS] make async slave to wait for lsn to be replayed

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Kartyshov Ivan <i(dot)kartyshov(at)postgrespro(dot)ru>, Alexander Korotkov <aekorotkov(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [HACKERS] make async slave to wait for lsn to be replayed
Date: 2024-03-21 22:50:09
Message-ID: b45ff979-9d12-4828-a22a-e4cb327e115c@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vik Fearing 2024-03-21 22:55:13 Re: Catalog domain not-null constraints
Previous Message Matthias van de Meent 2024-03-21 22:42:58 Re: DRAFT: Pass sk_attno to consistent function