PostgreSQL Source Code: src/include/access/skey.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef SKEY_H
15#define SKEY_H
16
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
65{
74
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115#define SK_ISNULL 0x0001
116#define SK_UNARY 0x0002
117#define SK_ROW_HEADER 0x0004
118#define SK_ROW_MEMBER 0x0008
119#define SK_ROW_END 0x0010
120#define SK_SEARCHARRAY 0x0020
121#define SK_SEARCHNULL 0x0040
122#define SK_SEARCHNOTNULL 0x0080
123#define SK_ORDER_BY 0x0100
124
125
126
127
128
135 int flags,
138 Oid subtype,
139 Oid collation,
143 int flags,
146 Oid subtype,
147 Oid collation,
150
151#endif
struct ScanKeyData ScanKeyData
void ScanKeyEntryInitialize(ScanKey entry, int flags, AttrNumber attributeNumber, StrategyNumber strategy, Oid subtype, Oid collation, RegProcedure procedure, Datum argument)
void ScanKeyEntryInitializeWithInfo(ScanKey entry, int flags, AttrNumber attributeNumber, StrategyNumber strategy, Oid subtype, Oid collation, FmgrInfo *finfo, Datum argument)
void ScanKeyInit(ScanKey entry, AttrNumber attributeNumber, StrategyNumber strategy, RegProcedure procedure, Datum argument)
StrategyNumber sk_strategy