PostgreSQL Source Code
git master
|
#include "postgres.h"
#include "access/amvalidate.h"
#include "access/htup_details.h"
#include "catalog/pg_am.h"
#include "catalog/pg_amop.h"
#include "catalog/pg_amproc.h"
#include "catalog/pg_opclass.h"
#include "catalog/pg_operator.h"
#include "catalog/pg_proc.h"
#include "catalog/pg_type.h"
#include "parser/parse_coerce.h"
#include "utils/syscache.h"
Go to the source code of this file.
Functions | |
List * | identify_opfamily_groups (CatCList *oprlist, CatCList *proclist) |
bool | check_amproc_signature (Oid funcid, Oid restype, bool exact, int minargs, int maxargs,...) |
bool | check_amoptsproc_signature (Oid funcid) |
bool | check_amop_signature (Oid opno, Oid restype, Oid lefttype, Oid righttype) |
Oid | opclass_for_family_datatype (Oid amoid, Oid opfamilyoid, Oid datatypeoid) |
bool | opfamily_can_sort_type (Oid opfamilyoid, Oid datatypeoid) |
Definition at line 206 of file amvalidate.c.
References elog, ERROR, GETSTRUCT, HeapTupleIsValid, ObjectIdGetDatum(), ReleaseSysCache(), and SearchSysCache1().
Referenced by blvalidate(), brinvalidate(), btvalidate(), ginvalidate(), gistvalidate(), hashvalidate(), and spgvalidate().
Definition at line 192 of file amvalidate.c.
References check_amproc_signature().
Referenced by blvalidate(), brinvalidate(), btvalidate(), ginvalidate(), gistvalidate(), hashvalidate(), and spgvalidate().
Definition at line 152 of file amvalidate.c.
References elog, ERROR, GETSTRUCT, HeapTupleIsValid, i, IsBinaryCoercible(), ObjectIdGetDatum(), ReleaseSysCache(), SearchSysCache1(), va_end(), and va_start().
Referenced by blvalidate(), brinvalidate(), btvalidate(), check_amoptsproc_signature(), ginvalidate(), gistvalidate(), hashvalidate(), and spgvalidate().
Definition at line 43 of file amvalidate.c.
References elog, ERROR, OpFamilyOpFuncGroup::functionset, GETSTRUCT, lappend(), OpFamilyOpFuncGroup::lefttype, catclist::members, NIL, OpFamilyOpFuncGroup::operatorset, catclist::ordered, palloc(), OpFamilyOpFuncGroup::righttype, and catctup::tuple.
Referenced by blvalidate(), brinvalidate(), btvalidate(), ginvalidate(), gistvalidate(), hashvalidate(), and spgvalidate().
Definition at line 236 of file amvalidate.c.
References GETSTRUCT, i, InvalidOid, catclist::members, catclist::n_members, ObjectIdGetDatum(), ReleaseCatCacheList(), SearchSysCacheList1, and catctup::tuple.
Referenced by btadjustmembers(), hashadjustmembers(), and opfamily_can_sort_type().
Definition at line 271 of file amvalidate.c.
References OidIsValid, and opclass_for_family_datatype().
Referenced by gistvalidate(), spgproperty(), and spgvalidate().