diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-06 06:59:25 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2002-04-06 06:59:25 +0000 |
commit | 0332d65ac4a1c843e1812755db1afc1b1109d0ea (patch) | |
tree | 7bf7644c1415b79c8c22d2c655af8bd605ff199f /src/include/utils/syscache.h | |
parent | 707cf12f1bd95b204c79a732db195782981959d2 (diff) |
Implement partial-key searching of syscaches, per recent suggestion
to pghackers. Use this to do searching for ambiguous functions ---
it will get more uses soon.
Diffstat (limited to 'src/include/utils/syscache.h')
-rw-r--r-- | src/include/utils/syscache.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/include/utils/syscache.h b/src/include/utils/syscache.h index d08dfadda49..1d9ddd9acfd 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.41 2002/03/29 19:06:26 tgl Exp $ + * $Id: syscache.h,v 1.42 2002/04/06 06:59:25 tgl Exp $ * *------------------------------------------------------------------------- */ @@ -79,4 +79,9 @@ extern Oid GetSysCacheOid(int cacheId, extern Datum SysCacheGetAttr(int cacheId, HeapTuple tup, AttrNumber attributeNumber, bool *isNull); +/* list-search interface. Users of this must import catcache.h too */ +extern struct catclist *SearchSysCacheList(int cacheId, int nkeys, + Datum key1, Datum key2, Datum key3, Datum key4); +#define ReleaseSysCacheList(x) ReleaseCatCacheList(x) + #endif /* SYSCACHE_H */ |