Thread: pgsql: Add some opfamily support functions to lsyscache.c

pgsql: Add some opfamily support functions to lsyscache.c

From
Peter Eisentraut
Date:
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.dilger@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.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(+)