1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-16 06:01:02 +03:00

Reverse out cache changes that are not ready yet.

This commit is contained in:
Bruce Momjian
1999-07-20 17:14:08 +00:00
parent 7944d501f4
commit c175de56dc
5 changed files with 84 additions and 180 deletions

View File

@ -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,
{