|
7 | 7 | *
|
8 | 8 | * Copyright (c) 1994, Regents of the University of California
|
9 | 9 | *
|
10 |
| - * $Id: indexing.h,v 1.2 1996/11/06 07:05:18 scrappy Exp $ |
| 10 | + * $Id: indexing.h,v 1.3 1997/08/21 01:37:48 vadim Exp $ |
11 | 11 | *
|
12 | 12 | *-------------------------------------------------------------------------
|
13 | 13 | */
|
|
24 | 24 | #define Num_pg_proc_indices 3
|
25 | 25 | #define Num_pg_type_indices 2
|
26 | 26 | #define Num_pg_class_indices 2
|
| 27 | +#define Num_pg_attrdef_indices 1 |
| 28 | +#define Num_pg_relcheck_indices 1 |
27 | 29 |
|
28 | 30 |
|
29 | 31 | /*
|
|
39 | 41 | #define TypeOidIndex "pg_typeidind"
|
40 | 42 | #define ClassNameIndex "pg_classnameind"
|
41 | 43 | #define ClassOidIndex "pg_classoidind"
|
| 44 | +#define AttrDefaultIndex "pg_attrdefind" |
| 45 | +#define RelCheckIndex "pg_relcheckind" |
42 | 46 |
|
43 | 47 | extern char *Name_pg_attr_indices[];
|
44 | 48 | extern char *Name_pg_proc_indices[];
|
45 | 49 | extern char *Name_pg_type_indices[];
|
46 | 50 | extern char *Name_pg_class_indices[];
|
| 51 | +extern char *Name_pg_attrdef_indices[]; |
| 52 | +extern char *Name_pg_relcheck_indices[]; |
47 | 53 |
|
48 | 54 | extern char *IndexedCatalogNames[];
|
49 | 55 |
|
@@ -98,6 +104,9 @@ DECLARE_INDEX(pg_typenameind on pg_type using btree (typname name_ops));
|
98 | 104 | DECLARE_INDEX(pg_classnameind on pg_class using btree (relname name_ops));
|
99 | 105 | DECLARE_INDEX(pg_classoidind on pg_class using btree (Oid oid_ops));
|
100 | 106 |
|
| 107 | +DECLARE_INDEX(pg_attrdefind on pg_attrdef using btree (adrelid oid_ops)); |
| 108 | +DECLARE_INDEX(pg_relcheckind on pg_relcheck using btree (rcrelid oid_ops)); |
| 109 | + |
101 | 110 | /* now build indices in the initialization scripts */
|
102 | 111 | BUILD_INDICES
|
103 | 112 |
|
|
0 commit comments