23#include "catalog/syscache_ids.h"
91#define SearchSysCacheCopy1(cacheId, key1) \
92 SearchSysCacheCopy(cacheId, key1, 0, 0, 0)
93#define SearchSysCacheCopy2(cacheId, key1, key2) \
94 SearchSysCacheCopy(cacheId, key1, key2, 0, 0)
95#define SearchSysCacheCopy3(cacheId, key1, key2, key3) \
96 SearchSysCacheCopy(cacheId, key1, key2, key3, 0)
97#define SearchSysCacheCopy4(cacheId, key1, key2, key3, key4) \
98 SearchSysCacheCopy(cacheId, key1, key2, key3, key4)
100#define SearchSysCacheExists1(cacheId, key1) \
101 SearchSysCacheExists(cacheId, key1, 0, 0, 0)
102#define SearchSysCacheExists2(cacheId, key1, key2) \
103 SearchSysCacheExists(cacheId, key1, key2, 0, 0)
104#define SearchSysCacheExists3(cacheId, key1, key2, key3) \
105 SearchSysCacheExists(cacheId, key1, key2, key3, 0)
106#define SearchSysCacheExists4(cacheId, key1, key2, key3, key4) \
107 SearchSysCacheExists(cacheId, key1, key2, key3, key4)
109#define GetSysCacheOid1(cacheId, oidcol, key1) \
110 GetSysCacheOid(cacheId, oidcol, key1, 0, 0, 0)
111#define GetSysCacheOid2(cacheId, oidcol, key1, key2) \
112 GetSysCacheOid(cacheId, oidcol, key1, key2, 0, 0)
113#define GetSysCacheOid3(cacheId, oidcol, key1, key2, key3) \
114 GetSysCacheOid(cacheId, oidcol, key1, key2, key3, 0)
115#define GetSysCacheOid4(cacheId, oidcol, key1, key2, key3, key4) \
116 GetSysCacheOid(cacheId, oidcol, key1, key2, key3, key4)
118#define GetSysCacheHashValue1(cacheId, key1) \
119 GetSysCacheHashValue(cacheId, key1, 0, 0, 0)
120#define GetSysCacheHashValue2(cacheId, key1, key2) \
121 GetSysCacheHashValue(cacheId, key1, key2, 0, 0)
122#define GetSysCacheHashValue3(cacheId, key1, key2, key3) \
123 GetSysCacheHashValue(cacheId, key1, key2, key3, 0)
124#define GetSysCacheHashValue4(cacheId, key1, key2, key3, key4) \
125 GetSysCacheHashValue(cacheId, key1, key2, key3, key4)
127#define SearchSysCacheList1(cacheId, key1) \
128 SearchSysCacheList(cacheId, 1, key1, 0, 0)
129#define SearchSysCacheList2(cacheId, key1, key2) \
130 SearchSysCacheList(cacheId, 2, key1, key2, 0)
131#define SearchSysCacheList3(cacheId, key1, key2, key3) \
132 SearchSysCacheList(cacheId, 3, key1, key2, key3)
134#define ReleaseSysCacheList(x) ReleaseCatCacheList(x)
Oid GetSysCacheOid(SysCacheIdentifier cacheId, AttrNumber oidcol, Datum key1, Datum key2, Datum key3, Datum key4)
HeapTuple SearchSysCacheCopyAttName(Oid relid, const char *attname)
bool RelationHasSysCache(Oid relid)
HeapTuple SearchSysCacheCopyAttNum(Oid relid, int16 attnum)
void InitCatalogCache(void)
HeapTuple SearchSysCacheLockedCopy1(SysCacheIdentifier cacheId, Datum key1)
void ReleaseSysCache(HeapTuple tuple)
HeapTuple SearchSysCache2(SysCacheIdentifier cacheId, Datum key1, Datum key2)
uint32 GetSysCacheHashValue(SysCacheIdentifier cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
HeapTuple SearchSysCacheAttNum(Oid relid, int16 attnum)
bool RelationSupportsSysCache(Oid relid)
HeapTuple SearchSysCacheCopy(SysCacheIdentifier cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
bool SearchSysCacheExistsAttName(Oid relid, const char *attname)
HeapTuple SearchSysCacheLocked1(SysCacheIdentifier cacheId, Datum key1)
HeapTuple SearchSysCache(SysCacheIdentifier cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
HeapTuple SearchSysCache3(SysCacheIdentifier cacheId, Datum key1, Datum key2, Datum key3)
void InitCatalogCachePhase2(void)
HeapTuple SearchSysCacheAttName(Oid relid, const char *attname)
void SysCacheInvalidate(SysCacheIdentifier cacheId, uint32 hashValue)
bool SearchSysCacheExists(SysCacheIdentifier cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
Datum SysCacheGetAttrNotNull(SysCacheIdentifier cacheId, HeapTuple tup, AttrNumber attributeNumber)
bool RelationInvalidatesSnapshotsOnly(Oid relid)
struct catclist * SearchSysCacheList(SysCacheIdentifier cacheId, int nkeys, Datum key1, Datum key2, Datum key3)
HeapTuple SearchSysCache4(SysCacheIdentifier cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
HeapTuple SearchSysCache1(SysCacheIdentifier cacheId, Datum key1)
Datum SysCacheGetAttr(SysCacheIdentifier cacheId, HeapTuple tup, AttrNumber attributeNumber, bool *isNull)