141 #define SearchSysCache1(cacheId, key1) \
142 SearchSysCache(cacheId, key1, 0, 0, 0)
143 #define SearchSysCache2(cacheId, key1, key2) \
144 SearchSysCache(cacheId, key1, key2, 0, 0)
145 #define SearchSysCache3(cacheId, key1, key2, key3) \
146 SearchSysCache(cacheId, key1, key2, key3, 0)
147 #define SearchSysCache4(cacheId, key1, key2, key3, key4) \
148 SearchSysCache(cacheId, key1, key2, key3, key4)
150 #define SearchSysCacheCopy1(cacheId, key1) \
151 SearchSysCacheCopy(cacheId, key1, 0, 0, 0)
152 #define SearchSysCacheCopy2(cacheId, key1, key2) \
153 SearchSysCacheCopy(cacheId, key1, key2, 0, 0)
154 #define SearchSysCacheCopy3(cacheId, key1, key2, key3) \
155 SearchSysCacheCopy(cacheId, key1, key2, key3, 0)
156 #define SearchSysCacheCopy4(cacheId, key1, key2, key3, key4) \
157 SearchSysCacheCopy(cacheId, key1, key2, key3, key4)
159 #define SearchSysCacheExists1(cacheId, key1) \
160 SearchSysCacheExists(cacheId, key1, 0, 0, 0)
161 #define SearchSysCacheExists2(cacheId, key1, key2) \
162 SearchSysCacheExists(cacheId, key1, key2, 0, 0)
163 #define SearchSysCacheExists3(cacheId, key1, key2, key3) \
164 SearchSysCacheExists(cacheId, key1, key2, key3, 0)
165 #define SearchSysCacheExists4(cacheId, key1, key2, key3, key4) \
166 SearchSysCacheExists(cacheId, key1, key2, key3, key4)
168 #define GetSysCacheOid1(cacheId, key1) \
169 GetSysCacheOid(cacheId, key1, 0, 0, 0)
170 #define GetSysCacheOid2(cacheId, key1, key2) \
171 GetSysCacheOid(cacheId, key1, key2, 0, 0)
172 #define GetSysCacheOid3(cacheId, key1, key2, key3) \
173 GetSysCacheOid(cacheId, key1, key2, key3, 0)
174 #define GetSysCacheOid4(cacheId, key1, key2, key3, key4) \
175 GetSysCacheOid(cacheId, key1, key2, key3, key4)
177 #define GetSysCacheHashValue1(cacheId, key1) \
178 GetSysCacheHashValue(cacheId, key1, 0, 0, 0)
179 #define GetSysCacheHashValue2(cacheId, key1, key2) \
180 GetSysCacheHashValue(cacheId, key1, key2, 0, 0)
181 #define GetSysCacheHashValue3(cacheId, key1, key2, key3) \
182 GetSysCacheHashValue(cacheId, key1, key2, key3, 0)
183 #define GetSysCacheHashValue4(cacheId, key1, key2, key3, key4) \
184 GetSysCacheHashValue(cacheId, key1, key2, key3, key4)
186 #define SearchSysCacheList1(cacheId, key1) \
187 SearchSysCacheList(cacheId, 1, key1, 0, 0, 0)
188 #define SearchSysCacheList2(cacheId, key1, key2) \
189 SearchSysCacheList(cacheId, 2, key1, key2, 0, 0)
190 #define SearchSysCacheList3(cacheId, key1, key2, key3) \
191 SearchSysCacheList(cacheId, 3, key1, key2, key3, 0)
192 #define SearchSysCacheList4(cacheId, key1, key2, key3, key4) \
193 SearchSysCacheList(cacheId, 4, key1, key2, key3, key4)
195 #define ReleaseSysCacheList(x) ReleaseCatCacheList(x)
void InitCatalogCache(void)
HeapTuple SearchSysCache(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
uint32 GetSysCacheHashValue(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
bool RelationHasSysCache(Oid relid)
Oid GetSysCacheOid(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
HeapTuple SearchSysCacheCopyAttName(Oid relid, const char *attname)
HeapTuple SearchSysCacheCopy(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
Datum SysCacheGetAttr(int cacheId, HeapTuple tup, AttrNumber attributeNumber, bool *isNull)
bool SearchSysCacheExists(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4)
bool RelationInvalidatesSnapshotsOnly(Oid relid)
void ReleaseSysCache(HeapTuple tuple)
HeapTuple SearchSysCacheAttName(Oid relid, const char *attname)
void InitCatalogCachePhase2(void)
bool RelationSupportsSysCache(Oid relid)
struct catclist * SearchSysCacheList(int cacheId, int nkeys, Datum key1, Datum key2, Datum key3, Datum key4)
bool SearchSysCacheExistsAttName(Oid relid, const char *attname)