137 #define TYPECACHE_EQ_OPR 0x00001
138 #define TYPECACHE_LT_OPR 0x00002
139 #define TYPECACHE_GT_OPR 0x00004
140 #define TYPECACHE_CMP_PROC 0x00008
141 #define TYPECACHE_HASH_PROC 0x00010
142 #define TYPECACHE_EQ_OPR_FINFO 0x00020
143 #define TYPECACHE_CMP_PROC_FINFO 0x00040
144 #define TYPECACHE_HASH_PROC_FINFO 0x00080
145 #define TYPECACHE_TUPDESC 0x00100
146 #define TYPECACHE_BTREE_OPFAMILY 0x00200
147 #define TYPECACHE_HASH_OPFAMILY 0x00400
148 #define TYPECACHE_RANGE_INFO 0x00800
149 #define TYPECACHE_DOMAIN_BASE_INFO 0x01000
150 #define TYPECACHE_DOMAIN_CONSTR_INFO 0x02000
151 #define TYPECACHE_HASH_EXTENDED_PROC 0x04000
152 #define TYPECACHE_HASH_EXTENDED_PROC_FINFO 0x08000
153 #define TYPECACHE_MULTIRANGE_INFO 0x10000
156 #define INVALID_TUPLEDESC_IDENTIFIER ((uint64) 1)
DomainConstraintCache * dcc
MemoryContextCallback callback
uint64 tupDesc_identifier
FmgrInfo rng_cmp_proc_finfo
struct TypeCacheEntry * rngelemtype
FmgrInfo hash_extended_proc_finfo
DomainConstraintCache * domainData
struct TypeCacheEntry * rngtype
FmgrInfo rng_subdiff_finfo
struct TypeCacheEnumData * enumData
struct TypeCacheEntry * nextDomain
FmgrInfo rng_canonical_finfo
void InitDomainConstraintRef(Oid type_id, DomainConstraintRef *ref, MemoryContext refctx, bool need_exprstate)
TupleDesc lookup_rowtype_tupdesc(Oid type_id, int32 typmod)
TupleDesc lookup_rowtype_tupdesc_domain(Oid type_id, int32 typmod, bool noError)
TupleDesc lookup_rowtype_tupdesc_noerror(Oid type_id, int32 typmod, bool noError)
void SharedRecordTypmodRegistryInit(SharedRecordTypmodRegistry *, dsm_segment *segment, dsa_area *area)
void SharedRecordTypmodRegistryAttach(SharedRecordTypmodRegistry *)
uint64 assign_record_type_identifier(Oid type_id, int32 typmod)
bool DomainHasConstraints(Oid type_id)
size_t SharedRecordTypmodRegistryEstimate(void)
int compare_values_of_enum(TypeCacheEntry *tcache, Oid arg1, Oid arg2)
struct TypeCacheEntry TypeCacheEntry
void assign_record_type_typmod(TupleDesc tupDesc)
struct DomainConstraintRef DomainConstraintRef
TypeCacheEntry * lookup_type_cache(Oid type_id, int flags)
TupleDesc lookup_rowtype_tupdesc_copy(Oid type_id, int32 typmod)
void UpdateDomainConstraintRef(DomainConstraintRef *ref)