diff options
Diffstat (limited to 'src/include/utils/syscache.h')
-rw-r--r-- | src/include/utils/syscache.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/include/utils/syscache.h b/src/include/utils/syscache.h index c98bee3f30f..b9b77ca2ce5 100644 --- a/src/include/utils/syscache.h +++ b/src/include/utils/syscache.h @@ -9,7 +9,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: syscache.h,v 1.31 2001/06/12 05:55:50 tgl Exp $ + * $Id: syscache.h,v 1.32 2001/08/10 18:57:41 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -64,13 +64,11 @@ extern void ReleaseSysCache(HeapTuple tuple); /* convenience routines */ extern HeapTuple SearchSysCacheCopy(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4); +extern bool SearchSysCacheExists(int cacheId, + Datum key1, Datum key2, Datum key3, Datum key4); extern Oid GetSysCacheOid(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4); -/* macro for just probing for existence of a tuple via the syscache */ -#define SearchSysCacheExists(c,k1,k2,k3,k4) \ - OidIsValid(GetSysCacheOid(c,k1,k2,k3,k4)) - extern Datum SysCacheGetAttr(int cacheId, HeapTuple tup, AttrNumber attributeNumber, bool *isNull); |