pgsql: Add some opfamily support functions to lsyscache.c

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add some opfamily support functions to lsyscache.c
Date: 2025-03-18 10:34:51
Message-ID: E1tuUHb-0034vs-0k@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add some opfamily support functions to lsyscache.c

Add get_opfamily_method() and get_opfamily_member_for_cmptype() in
lsyscache.c. No callers yet, but we'll add some soon. This is part
of generalizing some parts of the code away from having btree
hardcoded and use CompareType instead.

Author: Mark Dilger <mark(dot)dilger(at)enterprisedb(dot)com>
Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330(at)enterprisedb(dot)com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7317e641268fb9b08d32519920adf1f16c8591ea

Modified Files
--------------
src/backend/utils/cache/lsyscache.c | 44 +++++++++++++++++++++++++++++++++++++
src/include/utils/lsyscache.h | 4 ++++
2 files changed, 48 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2025-03-18 12:28:25 Re: pgsql: pg_upgrade: Preserve default char signedness value from old clus
Previous Message Amit Kapila 2025-03-18 09:01:56 pgsql: Fix typo.