diff options
| author | Peter Eisentraut | 2025-01-24 21:58:13 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2025-02-01 09:42:58 +0000 |
| commit | 43493cceda2fb75e07a63cec46000407661d505d (patch) | |
| tree | 0c8c0f8d1a109ccd7fb7b4ec45ced857e379f0fe /src/include | |
| parent | a5709b5bb293a554913c4b1f6a9c58d1915ba3f7 (diff) | |
Add get_opfamily_name() function
This refactors and simplifies various existing code to make use of the
new function.
Reviewed-by: Mark Dilger <mark.dilger@enterprisedb.com>
Discussion: https://www.postgresql.org/message-id/flat/E72EAA49-354D-4C2E-8EB9-255197F55330@enterprisedb.com
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/utils/lsyscache.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/utils/lsyscache.h b/src/include/utils/lsyscache.h index b23deb9662f..6fab7aa6009 100644 --- a/src/include/utils/lsyscache.h +++ b/src/include/utils/lsyscache.h @@ -108,6 +108,7 @@ extern Oid get_opclass_input_type(Oid opclass); extern bool get_opclass_opfamily_and_input_type(Oid opclass, Oid *opfamily, Oid *opcintype); extern Oid get_opclass_method(Oid opclass); +extern char *get_opfamily_name(Oid opfid, bool missing_ok); extern RegProcedure get_opcode(Oid opno); extern char *get_opname(Oid opno); extern Oid get_op_rettype(Oid opno); |
