7
7
*
8
8
* Copyright (c) 1994, Regents of the University of California
9
9
*
10
- * $Id: indexing.h,v 1.26 1999/11/01 02:29:26 momjian Exp $
10
+ * $Id: indexing.h,v 1.27 1999/11/01 04:00:57 momjian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
19
19
/*
20
20
* Some definitions for indices on pg_attribute
21
21
*/
22
- #define Num_pg_amop_indices 2
23
- #define Num_pg_attr_indices 3
22
+ #define Num_pg_amop_indices 2
23
+ #define Num_pg_attr_indices 3
24
24
#define Num_pg_index_indices 1
25
- #define Num_pg_proc_indices 2
26
- #define Num_pg_type_indices 2
27
- #define Num_pg_class_indices 2
28
- #define Num_pg_attrdef_indices 1
29
- #define Num_pg_relcheck_indices 1
30
- #define Num_pg_trigger_indices 3
25
+ #define Num_pg_proc_indices 2
26
+ #define Num_pg_type_indices 2
27
+ #define Num_pg_class_indices 2
28
+ #define Num_pg_attrdef_indices 1
29
+ #define Num_pg_relcheck_indices 1
30
+ #define Num_pg_trigger_indices 3
31
31
#define Num_pg_description_indices 1
32
32
33
33
36
36
*/
37
37
#define AccessMethodOpidIndex "pg_amop_opid_index"
38
38
#define AccessMethodStrategyIndex "pg_amop_strategy_index"
39
- #define AttributeNameIndex "pg_attribute_relid_attnam_index"
40
- #define AttributeNumIndex "pg_attribute_relid_attnum_index"
41
- #define IndexRelidIndex "pg_index_indexrelid_index"
42
- #define AttributeRelidIndex "pg_attribute_attrelid_index"
43
- #define ProcedureOidIndex "pg_proc_oid_index"
44
- #define ProcedureNameIndex "pg_proc_proname_narg_type_index"
45
- #define TypeOidIndex "pg_type_oid_index"
46
- #define TypeNameIndex "pg_type_typname_index"
47
- #define ClassOidIndex "pg_class_oid_index"
48
- #define ClassNameIndex "pg_class_relname_index"
49
- #define AttrDefaultIndex "pg_attrdef_adrelid_index"
50
- #define RelCheckIndex "pg_relcheck_rcrelid_index"
51
- #define TriggerRelidIndex "pg_trigger_tgrelid_index"
52
- #define TriggerConstrNameIndex "pg_trigger_tgconstrname_index"
53
- #define TriggerConstrRelidIndex "pg_trigger_tgconstrrelid_index"
54
- #define DescriptionObjIndex "pg_description_objoid_index"
39
+ #define AttributeNameIndex "pg_attribute_relid_attnam_index"
40
+ #define AttributeNumIndex "pg_attribute_relid_attnum_index"
41
+ #define IndexRelidIndex "pg_index_indexrelid_index"
42
+ #define AttributeRelidIndex "pg_attribute_attrelid_index"
43
+ #define ProcedureOidIndex "pg_proc_oid_index"
44
+ #define ProcedureNameIndex "pg_proc_proname_narg_type_index"
45
+ #define TypeOidIndex "pg_type_oid_index"
46
+ #define TypeNameIndex "pg_type_typname_index"
47
+ #define ClassOidIndex "pg_class_oid_index"
48
+ #define ClassNameIndex "pg_class_relname_index"
49
+ #define AttrDefaultIndex "pg_attrdef_adrelid_index"
50
+ #define RelCheckIndex "pg_relcheck_rcrelid_index"
51
+ #define TriggerRelidIndex "pg_trigger_tgrelid_index"
52
+ #define TriggerConstrNameIndex "pg_trigger_tgconstrname_index"
53
+ #define TriggerConstrRelidIndex "pg_trigger_tgconstrrelid_index"
54
+ #define DescriptionObjIndex "pg_description_objoid_index"
55
55
56
56
extern char * Name_pg_amop_indices [];
57
57
extern char * Name_pg_attr_indices [];
@@ -75,25 +75,23 @@ extern char *IndexedCatalogNames[];
75
75
extern void CatalogOpenIndices (int nIndices , char * * names , Relation * idescs );
76
76
extern void CatalogCloseIndices (int nIndices , Relation * idescs );
77
77
extern void CatalogIndexInsert (Relation * idescs ,
78
- int nIndices ,
79
- Relation heapRelation ,
80
- HeapTuple heapTuple );
78
+ int nIndices ,
79
+ Relation heapRelation ,
80
+ HeapTuple heapTuple );
81
81
extern bool CatalogHasIndex (char * catName , Oid catId );
82
82
83
83
extern HeapTuple AccessMethodOpidIndexScan (Relation heapRelation ,
84
- Oid claid , Oid opopr , Oid opid );
84
+ Oid claid , Oid opopr , Oid opid );
85
85
extern HeapTuple AccessMethodStrategyIndexScan (Relation heapRelation ,
86
- Oid opid , Oid claid , int2 opstrategy );
86
+ Oid opid , Oid claid , int2 opstrategy );
87
87
extern HeapTuple AttributeNameIndexScan (Relation heapRelation ,
88
- Oid relid ,
89
- char * attname );
88
+ Oid relid , char * attname );
90
89
extern HeapTuple AttributeNumIndexScan (Relation heapRelation ,
91
- Oid relid ,
92
- AttrNumber attnum );
90
+ Oid relid , AttrNumber attnum );
93
91
extern HeapTuple IndexRelidIndexScan (Relation heapRelation , Oid relid );
94
92
extern HeapTuple ProcedureOidIndexScan (Relation heapRelation , Oid procId );
95
93
extern HeapTuple ProcedureNameIndexScan (Relation heapRelation ,
96
- char * procName , int2 nargs , Oid * argTypes );
94
+ char * procName , int2 nargs , Oid * argTypes );
97
95
extern HeapTuple TypeOidIndexScan (Relation heapRelation , Oid typeId );
98
96
extern HeapTuple TypeNameIndexScan (Relation heapRelation , char * typeName );
99
97
extern HeapTuple ClassNameIndexScan (Relation heapRelation , char * relName );
0 commit comments