forked from bucardo/dbdpg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.h
216 lines (212 loc) · 9.41 KB
/
types.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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
64
65
66
67
68
69
70
71
72
73
74
75
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
/*
Do not edit this file directly - it is generated by types.c
*/
typedef struct sql_type_info {
int type_id;
char* type_name;
bool bind_ok;
char array_delimiter;
char* arrayout;
char* (*quote)();
void (*dequote)();
union {
int pg;
int sql;
} type;
int svtype;
} sql_type_info_t;
sql_type_info_t* pg_type_data(int);
sql_type_info_t* sql_type_data(int);
#define PG_ACLITEM 1033
#define PG_ANY 2276
#define PG_ANYCOMPATIBLE 5077
#define PG_ANYCOMPATIBLEMULTIRANGE 4538
#define PG_ANYCOMPATIBLERANGE 5080
#define PG_ANYELEMENT 2283
#define PG_ANYENUM 3500
#define PG_ANYMULTIRANGE 4537
#define PG_ANYRANGE 3831
#define PG_BIT 1560
#define PG_BOOL 16
#define PG_BOX 603
#define PG_BPCHAR 1042
#define PG_BYTEA 17
#define PG_CHAR 18
#define PG_CID 29
#define PG_CIDR 650
#define PG_CIRCLE 718
#define PG_CSTRING 2275
#define PG_DATE 1082
#define PG_DATEMULTIRANGE 4535
#define PG_DATERANGE 3912
#define PG_EVENT_TRIGGER 3838
#define PG_FDW_HANDLER 3115
#define PG_FLOAT4 700
#define PG_FLOAT8 701
#define PG_GTSVECTOR 3642
#define PG_INDEX_AM_HANDLER 325
#define PG_INET 869
#define PG_INT2 21
#define PG_INT2VECTOR 22
#define PG_INT4 23
#define PG_INT4MULTIRANGE 4451
#define PG_INT4RANGE 3904
#define PG_INT8 20
#define PG_INT8MULTIRANGE 4536
#define PG_INT8RANGE 3926
#define PG_INTERNAL 2281
#define PG_INTERVAL 1186
#define PG_JSON 114
#define PG_JSONB 3802
#define PG_JSONPATH 4072
#define PG_LANGUAGE_HANDLER 2280
#define PG_LINE 628
#define PG_LSEG 601
#define PG_MACADDR 829
#define PG_MACADDR8 774
#define PG_MONEY 790
#define PG_NAME 19
#define PG_NUMERIC 1700
#define PG_NUMMULTIRANGE 4532
#define PG_NUMRANGE 3906
#define PG_OID 26
#define PG_OIDVECTOR 30
#define PG_PATH 602
#define PG_PG_ATTRIBUTE 75
#define PG_PG_BRIN_BLOOM_SUMMARY 4600
#define PG_PG_BRIN_MINMAX_MULTI_SUMMARY 4601
#define PG_PG_CLASS 83
#define PG_PG_DDL_COMMAND 32
#define PG_PG_DEPENDENCIES 3402
#define PG_PG_LSN 3220
#define PG_PG_MCV_LIST 5017
#define PG_PG_NDISTINCT 3361
#define PG_PG_NODE_TREE 194
#define PG_PG_PROC 81
#define PG_PG_SNAPSHOT 5038
#define PG_PG_TYPE 71
#define PG_POINT 600
#define PG_POLYGON 604
#define PG_RECORD 2249
#define PG_REFCURSOR 1790
#define PG_REGCLASS 2205
#define PG_REGCOLLATION 4191
#define PG_REGCONFIG 3734
#define PG_REGDICTIONARY 3769
#define PG_REGNAMESPACE 4089
#define PG_REGOPER 2203
#define PG_REGOPERATOR 2204
#define PG_REGPROC 24
#define PG_REGPROCEDURE 2202
#define PG_REGROLE 4096
#define PG_REGTYPE 2206
#define PG_TABLE_AM_HANDLER 269
#define PG_TEXT 25
#define PG_TID 27
#define PG_TIME 1083
#define PG_TIMESTAMP 1114
#define PG_TIMESTAMPTZ 1184
#define PG_TIMETZ 1266
#define PG_TRIGGER 2279
#define PG_TSMULTIRANGE 4533
#define PG_TSM_HANDLER 3310
#define PG_TSQUERY 3615
#define PG_TSRANGE 3908
#define PG_TSTZMULTIRANGE 4534
#define PG_TSTZRANGE 3910
#define PG_TSVECTOR 3614
#define PG_TXID_SNAPSHOT 2970
#define PG_UNKNOWN 705
#define PG_UUID 2950
#define PG_VARBIT 1562
#define PG_VARCHAR 1043
#define PG_VOID 2278
#define PG_XID 28
#define PG_XID8 5069
#define PG_XML 142
#define PG_ACLITEMARRAY 1034
#define PG_ANYARRAY 2277
#define PG_ANYCOMPATIBLEARRAY 5078
#define PG_ANYCOMPATIBLENONARRAY 5079
#define PG_ANYNONARRAY 2776
#define PG_BITARRAY 1561
#define PG_BOOLARRAY 1000
#define PG_BOXARRAY 1020
#define PG_BPCHARARRAY 1014
#define PG_BYTEAARRAY 1001
#define PG_CHARARRAY 1002
#define PG_CIDARRAY 1012
#define PG_CIDRARRAY 651
#define PG_CIRCLEARRAY 719
#define PG_CSTRINGARRAY 1263
#define PG_DATEARRAY 1182
#define PG_DATEMULTIRANGEARRAY 6155
#define PG_DATERANGEARRAY 3913
#define PG_FLOAT4ARRAY 1021
#define PG_FLOAT8ARRAY 1022
#define PG_GTSVECTORARRAY 3644
#define PG_INETARRAY 1041
#define PG_INT2ARRAY 1005
#define PG_INT2VECTORARRAY 1006
#define PG_INT4ARRAY 1007
#define PG_INT4MULTIRANGEARRAY 6150
#define PG_INT4RANGEARRAY 3905
#define PG_INT8ARRAY 1016
#define PG_INT8MULTIRANGEARRAY 6157
#define PG_INT8RANGEARRAY 3927
#define PG_INTERVALARRAY 1187
#define PG_JSONARRAY 199
#define PG_JSONBARRAY 3807
#define PG_JSONPATHARRAY 4073
#define PG_LINEARRAY 629
#define PG_LSEGARRAY 1018
#define PG_MACADDR8ARRAY 775
#define PG_MACADDRARRAY 1040
#define PG_MONEYARRAY 791
#define PG_NAMEARRAY 1003
#define PG_NUMERICARRAY 1231
#define PG_NUMMULTIRANGEARRAY 6151
#define PG_NUMRANGEARRAY 3907
#define PG_OIDARRAY 1028
#define PG_OIDVECTORARRAY 1013
#define PG_PATHARRAY 1019
#define PG_PG_ATTRIBUTEARRAY 270
#define PG_PG_CLASSARRAY 273
#define PG_PG_LSNARRAY 3221
#define PG_PG_PROCARRAY 272
#define PG_PG_SNAPSHOTARRAY 5039
#define PG_PG_TYPEARRAY 210
#define PG_POINTARRAY 1017
#define PG_POLYGONARRAY 1027
#define PG_RECORDARRAY 2287
#define PG_REFCURSORARRAY 2201
#define PG_REGCLASSARRAY 2210
#define PG_REGCOLLATIONARRAY 4192
#define PG_REGCONFIGARRAY 3735
#define PG_REGDICTIONARYARRAY 3770
#define PG_REGNAMESPACEARRAY 4090
#define PG_REGOPERARRAY 2208
#define PG_REGOPERATORARRAY 2209
#define PG_REGPROCARRAY 1008
#define PG_REGPROCEDUREARRAY 2207
#define PG_REGROLEARRAY 4097
#define PG_REGTYPEARRAY 2211
#define PG_TEXTARRAY 1009
#define PG_TIDARRAY 1010
#define PG_TIMEARRAY 1183
#define PG_TIMESTAMPARRAY 1115
#define PG_TIMESTAMPTZARRAY 1185
#define PG_TIMETZARRAY 1270
#define PG_TSMULTIRANGEARRAY 6152
#define PG_TSQUERYARRAY 3645
#define PG_TSRANGEARRAY 3909
#define PG_TSTZMULTIRANGEARRAY 6153
#define PG_TSTZRANGEARRAY 3911
#define PG_TSVECTORARRAY 3643
#define PG_TXID_SNAPSHOTARRAY 2949
#define PG_UUIDARRAY 2951
#define PG_VARBITARRAY 1563
#define PG_VARCHARARRAY 1015
#define PG_XID8ARRAY 271
#define PG_XIDARRAY 1011
#define PG_XMLARRAY 143