|
8 | 8 | * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
|
9 | 9 | * Portions Copyright (c) 1994, Regents of the University of California
|
10 | 10 | *
|
11 |
| - * $Id: indexing.h,v 1.37 2000/04/12 17:16:27 momjian Exp $ |
| 11 | + * $Id: indexing.h,v 1.38 2000/06/07 02:44:40 momjian Exp $ |
12 | 12 | *
|
13 | 13 | *-------------------------------------------------------------------------
|
14 | 14 | */
|
|
28 | 28 | #defineNum_pg_class_indices2
|
29 | 29 | #defineNum_pg_description_indices1
|
30 | 30 | #defineNum_pg_group_indices2
|
31 |
| -#defineNum_pg_index_indices1 |
| 31 | +#defineNum_pg_index_indices2 |
32 | 32 | #defineNum_pg_inherits_indices1
|
33 | 33 | #defineNum_pg_language_indices2
|
34 | 34 | #defineNum_pg_listener_indices1
|
|
58 | 58 | #defineDescriptionObjIndex"pg_description_objoid_index"
|
59 | 59 | #defineGroupNameIndex"pg_group_name_index"
|
60 | 60 | #defineGroupSysidIndex"pg_group_sysid_index"
|
| 61 | +#defineIndexIndrelidIndex"pg_index_indrelid_index" |
61 | 62 | #defineIndexRelidIndex"pg_index_indexrelid_index"
|
62 | 63 | #defineInheritsRelidSeqnoIndex"pg_inherits_relid_seqno_index"
|
63 | 64 | #defineLanguageNameIndex"pg_language_name_index"
|
@@ -183,6 +184,8 @@ DECLARE_UNIQUE_INDEX(pg_class_relname_index on pg_class using btree(relname name
|
183 | 184 | DECLARE_UNIQUE_INDEX(pg_description_objoid_indexonpg_descriptionusingbtree(objoidoid_ops));
|
184 | 185 | DECLARE_UNIQUE_INDEX(pg_group_name_indexonpg_groupusingbtree(gronamename_ops));
|
185 | 186 | DECLARE_UNIQUE_INDEX(pg_group_sysid_indexonpg_groupusingbtree(grosysidint4_ops));
|
| 187 | +/* This following index is not used for a cache and is not unique */ |
| 188 | +DECLARE_INDEX(pg_index_indrelid_indexonpg_indexusingbtree(indrelidoid_ops)); |
186 | 189 | DECLARE_UNIQUE_INDEX(pg_index_indexrelid_indexonpg_indexusingbtree(indexrelidoid_ops));
|
187 | 190 | DECLARE_UNIQUE_INDEX(pg_inherits_relid_seqno_indexonpg_inheritsusingbtree(inhrelidoid_ops,inhseqnoint4_ops));
|
188 | 191 | DECLARE_UNIQUE_INDEX(pg_language_name_indexonpg_languageusingbtree(lannamename_ops));
|
|