|
7 | 7 | *
|
8 | 8 | * Copyright (c) 1994, Regents of the University of California
|
9 | 9 | *
|
10 |
| - * $Id: indexing.h,v 1.12 1997/11/17 16:59:34 momjian Exp $ |
| 10 | + * $Id: indexing.h,v 1.13 1998/01/11 21:03:01 momjian Exp $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
|
33 | 33 | /*
|
34 | 34 | * Names of indices on system catalogs
|
35 | 35 | */
|
36 |
| -#defineAttributeNameIndex "pg_attribute_mkoidname_index" |
37 |
| -#defineAttributeNumIndex "pg_attribute_mkoidint2_index" |
| 36 | +#defineAttributeNameIndex "pg_attribute_relid_attnam_index" |
| 37 | +#defineAttributeNumIndex "pg_attribute_relid_attnum_index" |
38 | 38 | #defineAttributeRelidIndex "pg_attribute_attrelid_index"
|
39 | 39 | #defineProcedureOidIndex "pg_proc_oid_index"
|
40 | 40 | #defineProcedureNameIndex "pg_proc_proname_index"
|
@@ -100,8 +100,8 @@ extern HeapTuple ClassOidIndexScan(Relation heapRelation, Oid relId);
|
100 | 100 | * The keyword is DECLARE_INDEX every thing after that is just like in a
|
101 | 101 | * normal specification of the 'define index' POSTQUEL command.
|
102 | 102 | */
|
103 |
| -DECLARE_INDEX(pg_attribute_mkoidname_indexonpg_attributeusingbtree(mkoidname(attrelid,attname)oidname_ops)); |
104 |
| -DECLARE_INDEX(pg_attribute_mkoidint2_indexonpg_attributeusingbtree(mkoidint2(attrelid,attnum)oidint2_ops)); |
| 103 | +DECLARE_INDEX(pg_attribute_relid_attnam_indexonpg_attributeusingbtree(mkoidname(attrelid,attname)oidname_ops)); |
| 104 | +DECLARE_INDEX(pg_attribute_relid_attnum_indexonpg_attributeusingbtree(mkoidint2(attrelid,attnum)oidint2_ops)); |
105 | 105 | DECLARE_INDEX(pg_attribute_attrelid_indexonpg_attributeusingbtree(attrelidoid_ops));
|
106 | 106 |
|
107 | 107 | DECLARE_INDEX(pg_proc_oid_indexonpg_procusingbtree(oidoid_ops));
|
|