pgsql: Add pg_atomic_unlocked_write_u64
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Date: 2025-12-03T23:40:47Z
Lists: pgsql-hackers
Add pg_atomic_unlocked_write_u64 The 64bit equivalent of pg_atomic_unlocked_write_u32(), to be used in an upcoming patch converting BufferDesc.state into a 64bit atomic. Reviewed-by: Melanie Plageman <melanieplageman@gmail.com> Discussion: https://postgr.es/m/fvfmkr5kk4nyex56ejgxj3uzi63isfxovp2biecb4bspbjrze7@az2pljabhnff Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/7902a47c20b1d5c0b7d20071f9ada6a0185bf39b Modified Files -------------- src/include/port/atomics.h | 10 ++++++++++ src/include/port/atomics/generic.h | 9 +++++++++ 2 files changed, 19 insertions(+)
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Improve documentation for pg_atomic_unlocked_write_u32()
- aa749bde3233 19 (unreleased) landed
-
Add pg_atomic_unlocked_write_u64
- 7902a47c20b1 19 (unreleased) cited