aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/cache/syscache.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-07-20 17:14:08 +0000
committerBruce Momjian <bruce@momjian.us>1999-07-20 17:14:08 +0000
commitc175de56dc16b6039c8e19f633abe99efaa1e5e6 (patch)
tree0133db6d91927f5f0a06816f783d91272231dee6 /src/backend/utils/cache/syscache.c
parent7944d501f43219885c3ef27035f89f40d0622022 (diff)
downloadpostgresql-c175de56dc16b6039c8e19f633abe99efaa1e5e6.tar.gz
postgresql-c175de56dc16b6039c8e19f633abe99efaa1e5e6.zip
Reverse out cache changes that are not ready yet.
Diffstat (limited to 'src/backend/utils/cache/syscache.c')
-rw-r--r--src/backend/utils/cache/syscache.c27
1 files changed, 19 insertions, 8 deletions
diff --git a/src/backend/utils/cache/syscache.c b/src/backend/utils/cache/syscache.c
index 2dc797206f7..4e4c354e07b 100644
--- a/src/backend/utils/cache/syscache.c
+++ b/src/backend/utils/cache/syscache.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.32 1999/07/20 16:48:55 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.33 1999/07/20 17:14:06 momjian Exp $
*
* NOTES
* These routines allow the parser/planner/executor to perform
@@ -58,8 +58,8 @@ static struct cachedesc cacheinfo[] = {
0
},
sizeof(FormData_pg_amop),
- AccessMethodOpidIndex,
- (ScanFunc) AccessMethodOpidIndexScan},
+ NULL,
+ (ScanFunc) NULL},
{AccessMethodOperatorRelationName, /* AMOPSTRATEGY */
3,
{
@@ -69,8 +69,8 @@ static struct cachedesc cacheinfo[] = {
0
},
sizeof(FormData_pg_amop),
- AccessMethodStrategyIndex,
- (ScanFunc) AccessMethodStrategyIndexScan},
+ NULL,
+ (ScanFunc) NULL},
{AttributeRelationName, /* ATTNAME */
2,
{
@@ -81,7 +81,7 @@ static struct cachedesc cacheinfo[] = {
},
ATTRIBUTE_TUPLE_SIZE,
AttributeNameIndex,
- (ScanFunc) IndexRelidIndexScan},
+ (ScanFunc) AttributeNameIndexScan},
{AttributeRelationName, /* ATTNUM */
2,
{
@@ -102,8 +102,8 @@ static struct cachedesc cacheinfo[] = {
0
},
offsetof(FormData_pg_index, indpred),
- IndexRelidIndex,
- (ScanFunc) IndexRelidIndexScan},
+ NULL,
+ NULL},
{LanguageRelationName, /* LANNAME */
1,
{
@@ -225,6 +225,17 @@ static struct cachedesc cacheinfo[] = {
sizeof(FormData_pg_opclass),
NULL,
NULL},
+ {IndexRelationName, /* INDRELIDKEY *//* never used */
+ 2,
+ {
+ Anum_pg_index_indrelid,
+ Anum_pg_index_indkey,
+ 0,
+ 0
+ },
+ offsetof(FormData_pg_index, indpred),
+ NULL,
+ (ScanFunc) NULL},
{InheritsRelationName, /* INHRELID */
2,
{