summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-11-24 04:16:12 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-11-24 04:16:12 +0000
commit80dab5bd69cd5bcd064a7da9f3d1b22eb770925a (patch)
treee3af72e2eba4516aa49a0f69973aa311a9b5ab11 /src/include
parent48437f5c3af2c6a64ef468a3cdd15f674b7e219f (diff)
A catalog cache that never caches isn't much of a cache :-(. Mea culpa.
Thanks to Brian Hirt for pointing out the performance lossage.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/utils/catcache.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/utils/catcache.h b/src/include/utils/catcache.h
index ed78284a478..70c988ca185 100644
--- a/src/include/utils/catcache.h
+++ b/src/include/utils/catcache.h
@@ -13,7 +13,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: catcache.h,v 1.28 2000/11/16 22:30:49 tgl Exp $
+ * $Id: catcache.h,v 1.29 2000/11/24 04:16:11 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -70,7 +70,7 @@ typedef struct catcache
short cc_nkeys; /* number of keys (1..4) */
short cc_key[4]; /* AttrNumber of each key */
PGFunction cc_hashfunc[4]; /* hash function to use for each key */
- ScanKeyData cc_skey[4]; /* precomputed key info for indexscans */
+ ScanKeyData cc_skey[4]; /* precomputed key info for heap scans */
Dllist cc_lrulist; /* overall LRU list, most recent first */
Dllist cc_cache[NCCBUCK]; /* hash buckets */
} CatCache;