25 #define RELCACHE_INIT_FILENAME "pg_internal.init"
112 bool shared_relation,
113 bool mapped_relation,
132 #ifdef USE_ASSERT_CHECKING
135 #define AssertPendingSyncs_RelationCache() do {} while (0)
List * RelationGetIndexList(Relation relation)
void RelationCacheInvalidate(bool debug_discard)
struct RelationData * Relation
PGDLLIMPORT bool criticalRelcachesBuilt
Oid RelationGetPrimaryKeyIndex(Relation relation, bool deferrable_ok)
int errtableconstraint(Relation rel, const char *conname)
int errtablecol(Relation rel, int attnum)
@ INDEX_ATTR_BITMAP_HOT_BLOCKING
@ INDEX_ATTR_BITMAP_PRIMARY_KEY
@ INDEX_ATTR_BITMAP_SUMMARIZED
@ INDEX_ATTR_BITMAP_IDENTITY_KEY
PGDLLIMPORT bool criticalSharedRelcachesBuilt
void RelationInitIndexAccessInfo(Relation relation)
List * RelationGetIndexPredicate(Relation relation)
List * RelationGetStatExtList(Relation relation)
void AtEOSubXact_RelationCache(bool isCommit, SubTransactionId mySubid, SubTransactionId parentSubid)
void RelationCacheInitFilePostInvalidate(void)
Bitmapset * RelationGetIndexAttrBitmap(Relation relation, IndexAttrBitmapKind attrKind)
void RelationCacheInitializePhase3(void)
List * RelationGetDummyIndexExpressions(Relation relation)
List * RelationGetFKeyList(Relation relation)
void RelationInitTableAccessMethod(Relation relation)
void RelationBuildPublicationDesc(Relation relation, struct PublicationDesc *pubdesc)
void RelationSetNewRelfilenumber(Relation relation, char persistence)
#define AssertPendingSyncs_RelationCache()
Oid RelationGetReplicaIndex(Relation relation)
Relation RelationIdGetRelation(Oid relationId)
void AtEOXact_RelationCache(bool isCommit)
void RelationForgetRelation(Oid rid)
void RelationCacheInitialize(void)
void RelationCacheInitFilePreInvalidate(void)
Relation RelationBuildLocalRelation(const char *relname, Oid relnamespace, TupleDesc tupDesc, Oid relid, Oid accessmtd, RelFileNumber relfilenumber, Oid reltablespace, bool shared_relation, bool mapped_relation, char relpersistence, char relkind)
void RelationAssumeNewRelfilelocator(Relation relation)
void RelationCacheInitFileRemove(void)
int errtablecolname(Relation rel, const char *colname)
void RelationCacheInitializePhase2(void)
bool RelationIdIsInInitFile(Oid relationId)
int errtable(Relation rel)
void RelationCacheInvalidateEntry(Oid relationId)
bytea ** RelationGetIndexAttOptions(Relation relation, bool copy)
Bitmapset * RelationGetIdentityKeyBitmap(Relation relation)
void RelationGetExclusionInfo(Relation indexRelation, Oid **operators, Oid **procs, uint16 **strategies)
List * RelationGetIndexExpressions(Relation relation)
void RelationClose(Relation relation)