agora inbox for pgsql-committers@postgresql.org
help / color / mirror / Atom feedFrom: John Naylor <john.naylor@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use ssup_datum_*_cmp in more places
Date: Thu, 02 Jul 2026 08:58:22 +0000
Message-ID: <E1wfDFW-00142B-23@gemulon.postgresql.org> (raw)
Use ssup_datum_*_cmp in more places
The int2, oid, and oid8 "fastcmp" comparators are functionally
equivalent to the ssup_datum_int32_cmp (for int2) and
ssup_datum_unsigned_cmp (for oid, oid8) functions added by commit
697492434, so simplify by using the latter instead. This has the
added benefit of making these types eligible for radix sort.
Author: Baji Shaik <baji.pgdev@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/CA+fm-RMyLC94NfrxCh273+dKs44U0ZJjRczznvzvgw=KtpPNVw@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/51cd5d6f052306e9288ff8c162ca9596432a5d2e
Modified Files
--------------
src/backend/access/nbtree/nbtcompare.c | 43 +++-------------------------------
1 file changed, 3 insertions(+), 40 deletions(-)
Message-ID: <E1wfDFW-00142B-23@gemulon.postgresql.org>
Permalink: ../E1wfDFW-00142B-23@gemulon.postgresql.org/
Also on: postgresql.org/message-id/E1wfDFW-00142B-23@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: john.naylor@postgresql.org, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Use ssup_datum_*_cmp in more places
In-Reply-To: <E1wfDFW-00142B-23@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