63 elog(
ERROR,
"cache lookup failed for operator class %u", opclassoid);
94 errmsg(
"operator family \"%s\" of access method %s contains support function %s with different left and right input types",
95 opfamilyname,
"spgist",
128 errmsg(
"SP-GiST leaf data type %s does not match declared type %s",
181 errmsg(
"operator family \"%s\" of access method %s contains function %s with invalid support number %d",
182 opfamilyname,
"spgist",
193 errmsg(
"operator family \"%s\" of access method %s contains function %s with wrong signature for support number %d",
194 opfamilyname,
"spgist",
213 errmsg(
"operator family \"%s\" of access method %s contains operator %s with invalid strategy number %d",
214 opfamilyname,
"spgist",
229 errmsg(
"operator family \"%s\" of access method %s contains invalid ORDER BY specification for operator %s",
230 opfamilyname,
"spgist",
245 errmsg(
"operator family \"%s\" of access method %s contains operator %s with wrong signature",
246 opfamilyname,
"spgist",
272 errmsg(
"operator family \"%s\" of access method %s is missing operator(s) for types %s and %s",
273 opfamilyname,
"spgist",
294 errmsg(
"operator family \"%s\" of access method %s is missing support function %d for type %s",
295 opfamilyname,
"spgist",
i,
307 errmsg(
"operator class \"%s\" of access method %s is missing operator(s)",
308 opclassname,
"spgist")));
338 foreach(
lc, operators)
378 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 opfamily_can_sort_type(Oid opfamilyoid, Oid datatypeoid)
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 OidFunctionCall2(functionId, arg1, arg2)
#define HeapTupleIsValid(tuple)
static void * GETSTRUCT(const HeapTupleData *tuple)
Oid get_op_rettype(Oid opno)
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 PointerGetDatum(const void *X)
static Datum ObjectIdGetDatum(Oid X)
static const struct fns functions
char * format_procedure(Oid procedure_oid)
char * format_operator(Oid operator_oid)
#define SPGIST_OPTIONS_PROC
#define SPGIST_COMPRESS_PROC
#define SPGIST_CHOOSE_PROC
#define SPGIST_LEAF_CONSISTENT_PROC
#define SPGIST_CONFIG_PROC
#define SPGIST_PICKSPLIT_PROC
#define SPGIST_INNER_CONSISTENT_PROC
bool spgvalidate(Oid opclassoid)
void spgadjustmembers(Oid opfamilyoid, Oid opclassoid, List *operators, List *functions)
void ReleaseSysCache(HeapTuple tuple)
HeapTuple SearchSysCache1(int cacheId, Datum key1)
#define SearchSysCacheList1(cacheId, key1)