diff options
| author | Alvaro Herrera | 2012-08-28 22:26:24 +0000 |
|---|---|---|
| committer | Alvaro Herrera | 2012-08-28 22:36:39 +0000 |
| commit | fda0594fc2f4c98ee50ea02fa196ca51db81ea70 (patch) | |
| tree | 9a35d44019af7d943a2f93140961d93c23a95b72 /src/include | |
| parent | 45326c5a11530cff5db99c6d4b393439cc901f26 (diff) | |
remove catcache.h from syscache.h
Instead, place a forward struct declaration for struct catclist in
syscache.h. This reduces header proliferation somewhat.
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/utils/syscache.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/utils/syscache.h b/src/include/utils/syscache.h index 49fdabaa03..d1a9855906 100644 --- a/src/include/utils/syscache.h +++ b/src/include/utils/syscache.h @@ -16,7 +16,9 @@ #ifndef SYSCACHE_H #define SYSCACHE_H -#include "utils/catcache.h" +#include "access/attnum.h" +#include "access/htup.h" +/* we purposedly do not include utils/catcache.h here */ /* * SysCache identifiers. @@ -119,6 +121,7 @@ extern uint32 GetSysCacheHashValue(int cacheId, Datum key1, Datum key2, Datum key3, Datum key4); /* list-search interface. Users of this must import catcache.h too */ +struct catclist; extern struct catclist *SearchSysCacheList(int cacheId, int nkeys, Datum key1, Datum key2, Datum key3, Datum key4); |
