Update for index change. Semes it didn't work the first time.

This commit is contained in:
Bruce Momjian 2000-01-24 03:08:27 +00:00
parent da5aba105f
commit 8bcac56086
2 changed files with 7 additions and 9 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.46 2000/01/24 02:12:56 momjian Exp $
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.47 2000/01/24 03:08:27 momjian Exp $
*
* NOTES
* These routines allow the parser/planner/executor to perform
@ -344,9 +344,8 @@ static struct cachedesc cacheinfo[] = {
0
},
sizeof(FormData_pg_shadow),
NULL,NULL
/* ShadowNameIndex,
ShadowNameIndexScan*/},
ShadowNameIndex,
ShadowNameIndexScan},
{ShadowRelationName, /* SHADOWSYSID */
1,
{
@ -356,9 +355,8 @@ NULL,NULL
0
},
sizeof(FormData_pg_shadow),
NULL,NULL
/* ShadowSysidIndex,
ShadowSysidIndexScan*/},
ShadowSysidIndex,
ShadowSysidIndexScan},
{StatisticRelationName, /* STATRELID */
2,
{

View File

@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: indexing.h,v 1.34 2000/01/24 02:12:57 momjian Exp $
* $Id: indexing.h,v 1.35 2000/01/24 03:08:27 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@ -202,7 +202,7 @@ DECLARE_UNIQUE_INDEX(pg_rewrite_rulename_index on pg_rewrite using btree(rulenam
xDECLARE_UNIQUE_INDEX(pg_shadow_name_index on pg_shadow using btree(usename name_ops));
xDECLARE_UNIQUE_INDEX(pg_shadow_sysid_index on pg_shadow using btree(usesysid int4_ops));
*/
DECLARE_INDEX(pg_statistic_relid_att_op_index on pg_statistic using btree(starelid oid_ops, staattnum int2_ops));
DECLARE_INDEX(pg_statistic_relid_att_index on pg_statistic using btree(starelid oid_ops, staattnum int2_ops));
DECLARE_INDEX(pg_trigger_tgconstrname_index on pg_trigger using btree(tgconstrname name_ops));
DECLARE_INDEX(pg_trigger_tgconstrrelid_index on pg_trigger using btree(tgconstrrelid oid_ops));
DECLARE_INDEX(pg_trigger_tgrelid_index on pg_trigger using btree(tgrelid oid_ops));