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)
HeapTuple SearchSysCacheCopyAttName(Oid relid, const char *attname)
void SysCacheInvalidate(int cacheId, uint32 hashValue)
struct catclist * SearchSysCacheList(int cacheId, int nkeys, Datum key1, Datum key2, Datum key3)
bool RelationHasSysCache(Oid relid)
HeapTuple SearchSysCacheCopyAttNum(Oid relid, int16 attnum)
void InitCatalogCache(void)
void ReleaseSysCache(HeapTuple tuple)
HeapTuple SearchSysCacheLocked1(int cacheId, Datum key1)
HeapTuple SearchSysCacheLockedCopy1(int cacheId, Datum key1)
HeapTuple SearchSysCache(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
HeapTuple SearchSysCache1(int cacheId, Datum key1)
uint32 GetSysCacheHashValue(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
HeapTuple SearchSysCache3(int cacheId, Datum key1, Datum key2, Datum key3)
HeapTuple SearchSysCacheAttNum(Oid relid, int16 attnum)
bool RelationSupportsSysCache(Oid relid)
Datum SysCacheGetAttr(int cacheId, HeapTuple tup, AttrNumber attributeNumber, bool *isNull)
bool SearchSysCacheExistsAttName(Oid relid, const char *attname)
void InitCatalogCachePhase2(void)
HeapTuple SearchSysCache2(int cacheId, Datum key1, Datum key2)
HeapTuple SearchSysCacheAttName(Oid relid, const char *attname)
bool SearchSysCacheExists(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
HeapTuple SearchSysCacheCopy(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
bool RelationInvalidatesSnapshotsOnly(Oid relid)
HeapTuple SearchSysCache4(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
Datum SysCacheGetAttrNotNull(int cacheId, HeapTuple tup, AttrNumber attributeNumber)
Oid GetSysCacheOid(int cacheId, AttrNumber oidcol, Datum key1, Datum key2, Datum key3, Datum key4)