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+Y+Pod3fcibF1s7ezxAaj+3wu3XxykVBMaUghZGvt0gxHA@mail.gmail.com
Whole thread
In response to Improve WAIT FOR read-your-writes consistency doc  (Sami Imseih <samimseih.pg@gmail.com>)
List pgsql-hackers
Thanks!

> > WDYT of the attached?
>
> Just a trivial comment:
>
> +    This is achieved by the following steps.  After committing the write
> +    operations on the primary, the application retrieves a WAL location
> +    that is at or after the transaction's <literal>COMMIT</literal> record,
> +    using a function call like this.
>
> We might need to specify the word 'end' clearly to avoid
> misunderstanding the LSN position as the beginning of the commit
> record.
>
> at or after the *end* of the write transaction’s COMMIT record.

I rather the comment be more high-level, and we just need to convey
that the function should be called after the commit.

See the attached.

--
Sami Imseih
Amazon Web Services (AWS)

Attachment

pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pg_*_advice: tsv load failure, etc.
Next
From: Nathan Bossart
Date:
Subject: Re: Rename PqMsg_Progress to PqMsg_ParallelWorkerProgress