Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8bcac56

Browse files
committed
Update for index change. Semes it didn't work the first time.
1 parent da5aba1 commit 8bcac56

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

src/backend/utils/cache/syscache.c

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.46 2000/01/24 02:12:56 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/cache/syscache.c,v 1.47 2000/01/24 03:08:27 momjian Exp $
1111
*
1212
* NOTES
1313
* These routines allow the parser/planner/executor to perform
@@ -344,9 +344,8 @@ static struct cachedesc cacheinfo[] = {
344344
0
345345
},
346346
sizeof(FormData_pg_shadow),
347-
NULL,NULL
348-
/* ShadowNameIndex,
349-
ShadowNameIndexScan*/},
347+
ShadowNameIndex,
348+
ShadowNameIndexScan},
350349
{ShadowRelationName, /* SHADOWSYSID */
351350
1,
352351
{
@@ -356,9 +355,8 @@ NULL,NULL
356355
0
357356
},
358357
sizeof(FormData_pg_shadow),
359-
NULL,NULL
360-
/* ShadowSysidIndex,
361-
ShadowSysidIndexScan*/},
358+
ShadowSysidIndex,
359+
ShadowSysidIndexScan},
362360
{StatisticRelationName, /* STATRELID */
363361
2,
364362
{

src/include/catalog/indexing.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
* Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: indexing.h,v 1.34 2000/01/24 02:12:57 momjian Exp $
10+
* $Id: indexing.h,v 1.35 2000/01/24 03:08:27 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -202,7 +202,7 @@ DECLARE_UNIQUE_INDEX(pg_rewrite_rulename_index on pg_rewrite using btree(rulenam
202202
xDECLARE_UNIQUE_INDEX(pg_shadow_name_index on pg_shadow using btree(usename name_ops));
203203
xDECLARE_UNIQUE_INDEX(pg_shadow_sysid_index on pg_shadow using btree(usesysid int4_ops));
204204
*/
205-
DECLARE_INDEX(pg_statistic_relid_att_op_index on pg_statistic using btree(starelid oid_ops, staattnum int2_ops));
205+
DECLARE_INDEX(pg_statistic_relid_att_index on pg_statistic using btree(starelid oid_ops, staattnum int2_ops));
206206
DECLARE_INDEX(pg_trigger_tgconstrname_index on pg_trigger using btree(tgconstrname name_ops));
207207
DECLARE_INDEX(pg_trigger_tgconstrrelid_index on pg_trigger using btree(tgconstrrelid oid_ops));
208208
DECLARE_INDEX(pg_trigger_tgrelid_index on pg_trigger using btree(tgrelid oid_ops));

0 commit comments

Comments
 (0)