51 elog(
ERROR,
"cache lookup failed for operator class %u", opclassoid);
83 errmsg(
"operator family \"%s\" of access method %s contains support function %s with different left and right input types",
93 if (
procform->amproclefttype != opcintype)
142 errmsg(
"operator family \"%s\" of access method %s contains function %s with invalid support number %d",
154 errmsg(
"operator family \"%s\" of access method %s contains function %s with wrong signature for support number %d",
173 errmsg(
"operator family \"%s\" of access method %s contains operator %s with invalid strategy number %d",
186 errmsg(
"operator family \"%s\" of access method %s contains invalid ORDER BY specification for operator %s",
199 errmsg(
"operator family \"%s\" of access method %s contains operator %s with wrong signature",
241 errmsg(
"operator class \"%s\" of access method %s is missing support function %d",
242 opclassname,
"gin",
i)));
251 errmsg(
"operator class \"%s\" of access method %s is missing support function %d or %d",
283 foreach(
lc, operators)
323 errmsg(
"support function number %d is invalid for access method %s",
bool check_amproc_signature(Oid funcid, Oid restype, bool exact, int minargs, int maxargs,...)
bool check_amop_signature(Oid opno, Oid restype, Oid lefttype, Oid righttype)
List * identify_opfamily_groups(CatCList *oprlist, CatCList *proclist)
bool check_amoptsproc_signature(Oid funcid)
#define OidIsValid(objectId)
void ReleaseCatCacheList(CatCList *list)
int errcode(int sqlerrcode)
int errmsg(const char *fmt,...)
#define ereport(elevel,...)
#define GIN_CONSISTENT_PROC
#define GIN_EXTRACTQUERY_PROC
#define GIN_EXTRACTVALUE_PROC
#define GIN_TRICONSISTENT_PROC
#define GIN_COMPARE_PARTIAL_PROC
bool ginvalidate(Oid opclassoid)
void ginadjustmembers(Oid opfamilyoid, Oid opclassoid, List *operators, List *functions)
#define HeapTupleIsValid(tuple)
static void * GETSTRUCT(const HeapTupleData *tuple)
char * get_opfamily_name(Oid opfid, bool missing_ok)
FormData_pg_amop * Form_pg_amop
FormData_pg_amproc * Form_pg_amproc
FormData_pg_opclass * Form_pg_opclass
static Datum ObjectIdGetDatum(Oid X)
static const struct fns functions
char * format_procedure(Oid procedure_oid)
char * format_operator(Oid operator_oid)
void ReleaseSysCache(HeapTuple tuple)
HeapTuple SearchSysCache1(int cacheId, Datum key1)
#define SearchSysCacheList1(cacheId, key1)