]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add some opfamily support functions to lsyscache.c
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 18 Mar 2025 10:17:43 +0000 (11:17 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 18 Mar 2025 10:17:43 +0000 (11:17 +0100)
commit7317e641268fb9b08d32519920adf1f16c8591ea
tree6e418f0e3bf7e441b0a36c429c621f494259e503
parent122a9af5def2db78f2c2131958eab8873bfee93b
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
src/backend/utils/cache/lsyscache.c
src/include/utils/lsyscache.h