diff options
author | Hiroshi Inoue <inoue@tpf.co.jp> | 2000-02-18 09:30:20 +0000 |
---|---|---|
committer | Hiroshi Inoue <inoue@tpf.co.jp> | 2000-02-18 09:30:20 +0000 |
commit | e3a97b370c2671c05ad95d6a21914c225a0cf32d (patch) | |
tree | e20b8bdc9dfedef71dfe1367c3b957cbf16c42c1 /src/backend/utils/cache/syscache.c | |
parent | e3befe4a66c68fea03300eadb9d9b2f1c2534dc6 (diff) | |
download | postgresql-e3a97b370c2671c05ad95d6a21914c225a0cf32d.tar.gz postgresql-e3a97b370c2671c05ad95d6a21914c225a0cf32d.zip |
Implement reindex command
Diffstat (limited to 'src/backend/utils/cache/syscache.c')
-rw-r--r-- | src/backend/utils/cache/syscache.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/backend/utils/cache/syscache.c b/src/backend/utils/cache/syscache.c index 3cc75198994..087002ab76f 100644 --- a/src/backend/utils/cache/syscache.c +++ b/src/backend/utils/cache/syscache.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.48 2000/01/26 05:57:18 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.49 2000/02/18 09:28:56 inoue Exp $ * * NOTES * These routines allow the parser/planner/executor to perform @@ -39,6 +39,7 @@ #include "catalog/pg_type.h" #include "utils/catcache.h" #include "utils/temprel.h" +#include "miscadmin.h" extern bool AMI_OVERRIDE; /* XXX style */ @@ -395,6 +396,11 @@ static struct cachedesc cacheinfo[] = { static struct catcache *SysCache[lengthof(cacheinfo)]; static int32 SysCacheSize = lengthof(cacheinfo); +static bool CacheInitialized = false; +extern bool IsCacheInitialized(void) +{ + return CacheInitialized; +} /* @@ -442,6 +448,7 @@ InitCatalogCache() } } + CacheInitialized = true; } /* |