From 8bcac56086ec1aa1eae04879bfb22275b9396522 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 24 Jan 2000 03:08:27 +0000 Subject: [PATCH] Update for index change. Semes it didn't work the first time. --- src/backend/utils/cache/syscache.c | 12 +++++------- src/include/catalog/indexing.h | 4 ++-- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/backend/utils/cache/syscache.c b/src/backend/utils/cache/syscache.c index 879e21c69b..c58a9a22e4 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.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, { diff --git a/src/include/catalog/indexing.h b/src/include/catalog/indexing.h index 2c88379d7d..358773aa45 100644 --- a/src/include/catalog/indexing.h +++ b/src/include/catalog/indexing.h @@ -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)); -- 2.40.0