public inbox for [email protected]
help / color / mirror / Atom feedFrom: Nathan Bossart <[email protected]>
To: [email protected]
Subject: pgsql: Convert archiver's force_dir_scan variable to an atomic variable
Date: Thu, 29 Feb 2024 16:20:03 +0000
Message-ID: <[email protected]> (raw)
Convert archiver's force_dir_scan variable to an atomic variable.
Commit bd5132db55 introduced new atomic read/write functions with
full barrier semantics, which are intended to simplify converting
non-performance-critical code to use atomic variables. This commit
demonstrates one such conversion.
Reviewed-by: Yong Li
Discussion: https://postgr.es/m/20231110205128.GB1315705%40nathanxps13
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3179701505b9ec58243ffba9d22b1803f320bf60
Modified Files
--------------
src/backend/postmaster/pgarch.c | 21 +++++----------------
1 file changed, 5 insertions(+), 16 deletions(-)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: pgsql: Convert archiver's force_dir_scan variable to an atomic variable
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox