pgsql: Improve documentation for pg_atomic_unlocked_write_u32() - Mailing list pgsql-committers

From Andres Freund
Subject pgsql: Improve documentation for pg_atomic_unlocked_write_u32()
Date
Msg-id E1vSp5R-003YHd-2z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Improve documentation for pg_atomic_unlocked_write_u32()

After my recent commit 7902a47c20b, Nathan noticed that
pg_atomic_unlocked_write_u64() was not accurately described by the comments
for the 32bit version. Turns out the 32bit version has suffered from
copy-and-paste-itis since its introduction. Fix.

Reported-by: Nathan Bossart <nathandbossart@gmail.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://postgr.es/m/aTGt7q4Jvn97uGAx@nathan

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/aa749bde323364039f369784071f315ad53c1325

Modified Files
--------------
src/include/port/atomics.h | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: David Rowley
Date:
Subject: pgsql: Doc: fix typo in hash index documentation
Next
From: Michael Paquier
Date:
Subject: pgsql: Use palloc_object() and palloc_array() in more areas of the tree