|
8 | 8 | * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
|
9 | 9 | * Portions Copyright (c) 1994, Regents of the University of California
|
10 | 10 | *
|
11 |
| - * $Id: indexing.h,v 1.50 2001/06/12 05:55:50 tgl Exp $ |
| 11 | + * $Id: indexing.h,v 1.51 2001/06/16 18:59:31 tgl Exp $ |
12 | 12 | *
|
13 | 13 | *-------------------------------------------------------------------------
|
14 | 14 | */
|
|
38 | 38 | #defineNum_pg_operator_indices2
|
39 | 39 | #defineNum_pg_proc_indices2
|
40 | 40 | #defineNum_pg_relcheck_indices1
|
41 |
| -#defineNum_pg_rewrite_indices1 |
| 41 | +#defineNum_pg_rewrite_indices2 |
42 | 42 | #defineNum_pg_shadow_indices2
|
43 | 43 | #defineNum_pg_statistic_indices1
|
44 |
| -#defineNum_pg_trigger_indices3 |
| 44 | +#defineNum_pg_trigger_indices4 |
45 | 45 | #defineNum_pg_type_indices2
|
46 | 46 |
|
47 | 47 | /*
|
|
77 | 77 | #defineProcedureNameIndex"pg_proc_proname_narg_type_index"
|
78 | 78 | #defineProcedureOidIndex"pg_proc_oid_index"
|
79 | 79 | #defineRelCheckIndex"pg_relcheck_rcrelid_index"
|
| 80 | +#defineRewriteOidIndex"pg_rewrite_oid_index" |
80 | 81 | #defineRewriteRulenameIndex"pg_rewrite_rulename_index"
|
81 | 82 | #defineShadowNameIndex"pg_shadow_usename_index"
|
82 | 83 | #defineShadowSysidIndex"pg_shadow_usesysid_index"
|
83 | 84 | #defineStatisticRelidAttnumIndex"pg_statistic_relid_att_index"
|
84 | 85 | #defineTriggerConstrNameIndex"pg_trigger_tgconstrname_index"
|
85 | 86 | #defineTriggerConstrRelidIndex"pg_trigger_tgconstrrelid_index"
|
86 | 87 | #defineTriggerRelidIndex"pg_trigger_tgrelid_index"
|
| 88 | +#defineTriggerOidIndex"pg_trigger_oid_index" |
87 | 89 | #defineTypeNameIndex"pg_type_typname_index"
|
88 | 90 | #defineTypeOidIndex"pg_type_oid_index"
|
89 | 91 |
|
@@ -181,13 +183,15 @@ DECLARE_UNIQUE_INDEX(pg_proc_oid_index on pg_proc using btree(oid oid_ops));
|
181 | 183 | DECLARE_UNIQUE_INDEX(pg_proc_proname_narg_type_indexonpg_procusingbtree(pronamename_ops,pronargsint2_ops,proargtypesoidvector_ops));
|
182 | 184 | /* This following index is not used for a cache and is not unique */
|
183 | 185 | DECLARE_INDEX(pg_relcheck_rcrelid_indexonpg_relcheckusingbtree(rcrelidoid_ops));
|
| 186 | +DECLARE_UNIQUE_INDEX(pg_rewrite_oid_indexonpg_rewriteusingbtree(oidoid_ops)); |
184 | 187 | DECLARE_UNIQUE_INDEX(pg_rewrite_rulename_indexonpg_rewriteusingbtree(rulenamename_ops));
|
185 | 188 | DECLARE_UNIQUE_INDEX(pg_shadow_usename_indexonpg_shadowusingbtree(usenamename_ops));
|
186 | 189 | DECLARE_UNIQUE_INDEX(pg_shadow_usesysid_indexonpg_shadowusingbtree(usesysidint4_ops));
|
187 | 190 | DECLARE_UNIQUE_INDEX(pg_statistic_relid_att_indexonpg_statisticusingbtree(starelidoid_ops,staattnumint2_ops));
|
188 | 191 | DECLARE_INDEX(pg_trigger_tgconstrname_indexonpg_triggerusingbtree(tgconstrnamename_ops));
|
189 | 192 | DECLARE_INDEX(pg_trigger_tgconstrrelid_indexonpg_triggerusingbtree(tgconstrrelidoid_ops));
|
190 | 193 | DECLARE_INDEX(pg_trigger_tgrelid_indexonpg_triggerusingbtree(tgrelidoid_ops));
|
| 194 | +DECLARE_UNIQUE_INDEX(pg_trigger_oid_indexonpg_triggerusingbtree(oidoid_ops)); |
191 | 195 | DECLARE_UNIQUE_INDEX(pg_type_oid_indexonpg_typeusingbtree(oidoid_ops));
|
192 | 196 | DECLARE_UNIQUE_INDEX(pg_type_typname_indexonpg_typeusingbtree(typnamename_ops));
|
193 | 197 |
|
|