agora inbox for pgsql-committers@postgresql.org  
help / color / mirror / Atom feed
From: Nathan Bossart <nathan@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Remove HAS_TEST_AND_SET.
Date: Fri, 25 Sep 2026 19:08:35 +0000
Message-ID: <E1xABHf-00000001FZQ-1wOw@gemulon.postgresql.org> (raw)

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@partin.io>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.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(-)



Message-ID: <E1xABHf-00000001FZQ-1wOw@gemulon.postgresql.org>
Permalink:  ../E1xABHf-00000001FZQ-1wOw@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1xABHf-00000001FZQ-1wOw@gemulon.postgresql.org

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: pgsql-committers@postgresql.org
  Cc: nathan@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Remove HAS_TEST_AND_SET.
  In-Reply-To: <E1xABHf-00000001FZQ-1wOw@gemulon.postgresql.org>

* 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