|
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 |
| -#define AttributeNameIndex "pg_attribute_mkoidname_index" |
37 |
| -#define AttributeNumIndex "pg_attribute_mkoidint2_index" |
| 36 | +#define AttributeNameIndex "pg_attribute_relid_attnam_index" |
| 37 | +#define AttributeNumIndex "pg_attribute_relid_attnum_index" |
38 | 38 | #define AttributeRelidIndex "pg_attribute_attrelid_index"
|
39 | 39 | #define ProcedureOidIndex "pg_proc_oid_index"
|
40 | 40 | #define ProcedureNameIndex "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_index on pg_attribute using btree(mkoidname(attrelid, attname) oidname_ops)); |
104 |
| -DECLARE_INDEX(pg_attribute_mkoidint2_index on pg_attribute using btree(mkoidint2(attrelid, attnum) oidint2_ops)); |
| 103 | +DECLARE_INDEX(pg_attribute_relid_attnam_index on pg_attribute using btree(mkoidname(attrelid, attname) oidname_ops)); |
| 104 | +DECLARE_INDEX(pg_attribute_relid_attnum_index on pg_attribute using btree(mkoidint2(attrelid, attnum) oidint2_ops)); |
105 | 105 | DECLARE_INDEX(pg_attribute_attrelid_index on pg_attribute using btree(attrelid oid_ops));
|
106 | 106 |
|
107 | 107 | DECLARE_INDEX(pg_proc_oid_index on pg_proc using btree(oid oid_ops));
|
|
0 commit comments