Re: Atomic ops for unlogged LSN

John Morris <john.morris@crunchydata.com>

From: John Morris <john.morris@crunchydata.com>
To: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>, John Morris <john.morris@crunchydata.com>
Cc: Andres Freund <andres@anarazel.de>, Nathan Bossart <nathandbossart@gmail.com>, Stephen Frost <sfrost@snowman.net>, Michael Paquier <michael@paquier.xyz>, Robert Haas <robertmhaas@gmail.com>, "pgsql-hackers@postgresql.org" <pgsql-hackers@postgresql.org>
Date: 2023-10-26T15:00:58Z
Lists: pgsql-hackers

Attachments

Keeping things up to date.  Here is a rebased patch with no changes from previous one.


  *   John Morris

Commits

  1. Convert unloggedLSN to an atomic variable.

  2. Introduce atomic read/write functions with full barrier semantics.