| From: | Nathan Bossart <nathan(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Remove HAS_TEST_AND_SET. |
| Date: | 2026-09-25 19:08:35 |
| Message-ID: | E1xABHf-00000001FZQ-1wOw@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Remove HAS_TEST_AND_SET.
This is only set when TAS is defined, so we can just check whether
TAS is defined directly instead.
Reviewed-by: Tristan Partin <tristan(at)partin(dot)io>
Reviewed-by: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/afkUeI7UhacZ5ZFm%40nathan
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/3e9bc39c5d723836fa3e380b4de4a6175fb302c0
Modified Files
--------------
src/include/storage/s_lock.h | 20 +++++---------------
1 file changed, 5 insertions(+), 15 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2026-09-25 19:34:54 | pgsql: Modernize crypt-des.c a bit, avoiding dubious casts. |
| Previous Message | Nathan Bossart | 2026-09-25 15:41:02 | pgsql: Remove fallback declaration for tas(). |