| From: | Andres Freund <andres(at)anarazel(dot)de> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add pg_atomic_unlocked_write_u64 |
| Date: | 2025-12-03 23:40:47 |
| Message-ID: | E1vQwSk-002fZh-2h@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers 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(at)gmail(dot)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(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Alexander Korotkov | 2025-12-04 08:55:52 | pgsql: Fix incorrect assertion bound in WaitForLSN() |
| Previous Message | Tom Lane | 2025-12-03 18:23:57 | pgsql: Make stats_ext test faster under cache-clobbering test condition |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Masahiko Sawada | 2025-12-04 00:14:31 | Re: Add mode column to pg_stat_progress_vacuum |
| Previous Message | Zsolt Parragi | 2025-12-03 23:38:58 | Re: Proposal: Add a callback data parameter to GetNamedDSMSegment |