Re: Improve WAIT FOR read-your-writes consistency doc - Mailing list pgsql-hackers

From Sami Imseih
Subject Re: Improve WAIT FOR read-your-writes consistency doc
Date
Msg-id CAN12+YLcpE98fFuBiL3es=vLvckDVM9474Nhz7r=T3Z-xCjB-w@mail.gmail.com
Whole thread
In response to Re: Improve WAIT FOR read-your-writes consistency doc  (Alexander Korotkov <aekorotkov@gmail.com>)
Responses Re: Improve WAIT FOR read-your-writes consistency doc
List pgsql-hackers

On Wed, Sep 16, 2026 at 5:30 PM Alexander Korotkov <aekorotkov@gmail.com> wrote:
On Tue, Sep 15, 2026 at 4:27 PM Sami Imseih <samimseih.pg@gmail.com> wrote:
> Attached is a rebase.

I've made this following changes to the patch.
1) Change <command>WAIT FOR</command> back to <command>WAIT</command>
(see a23ab4862cfe).
2) In the example, app gets lsn at or after *the end* of the relevant
write transaction's COMMIT record.  If we say lsn at the COMMIT record
then it might be interpreted as at he beginning of that record (and
that is wrong).

I'm going to push this if no objections.

LGTM


Sami 

pgsql-hackers by date:

Previous
From: Jacob Champion
Date:
Subject: Re: [PATCH] Explain what the default output_plugin_libraries do
Next
From: Amit Langote
Date:
Subject: Re: PG19: two RI fast-path issues found while testing the batching revert