@pgsql/utils 13.5.1 → 13.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/main/asts.js +1628 -1168
- package/module/asts.js +1628 -1168
- package/package.json +4 -4
- package/src/asts.ts +2653 -1732
- package/src/utils.ts +1 -1
- package/types/asts.d.ts +694 -231
- package/types/utils.d.ts +1 -1
package/module/asts.js
CHANGED
|
@@ -1,1724 +1,2116 @@
|
|
|
1
1
|
export default {
|
|
2
2
|
parseResult(_p) {
|
|
3
3
|
return {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
ParseResult: {
|
|
5
|
+
version: _p?.version,
|
|
6
|
+
stmts: _p?.stmts
|
|
7
|
+
}
|
|
6
8
|
};
|
|
7
9
|
},
|
|
8
10
|
scanResult(_p) {
|
|
9
11
|
return {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
ScanResult: {
|
|
13
|
+
version: _p?.version,
|
|
14
|
+
tokens: _p?.tokens
|
|
15
|
+
}
|
|
12
16
|
};
|
|
13
17
|
},
|
|
14
18
|
integer(_p) {
|
|
15
19
|
return {
|
|
16
|
-
|
|
20
|
+
Integer: {
|
|
21
|
+
ival: _p?.ival
|
|
22
|
+
}
|
|
17
23
|
};
|
|
18
24
|
},
|
|
19
25
|
float(_p) {
|
|
20
26
|
return {
|
|
21
|
-
|
|
27
|
+
Float: {
|
|
28
|
+
str: _p?.str
|
|
29
|
+
}
|
|
22
30
|
};
|
|
23
31
|
},
|
|
24
32
|
string(_p) {
|
|
25
33
|
return {
|
|
26
|
-
|
|
34
|
+
String: {
|
|
35
|
+
str: _p?.str
|
|
36
|
+
}
|
|
27
37
|
};
|
|
28
38
|
},
|
|
29
39
|
bitString(_p) {
|
|
30
40
|
return {
|
|
31
|
-
|
|
41
|
+
BitString: {
|
|
42
|
+
str: _p?.str
|
|
43
|
+
}
|
|
32
44
|
};
|
|
33
45
|
},
|
|
34
46
|
null(_p) {
|
|
35
|
-
return {
|
|
47
|
+
return {
|
|
48
|
+
Null: {}
|
|
49
|
+
};
|
|
36
50
|
},
|
|
37
51
|
list(_p) {
|
|
38
52
|
return {
|
|
39
|
-
|
|
53
|
+
List: {
|
|
54
|
+
items: _p?.items
|
|
55
|
+
}
|
|
40
56
|
};
|
|
41
57
|
},
|
|
42
58
|
oidList(_p) {
|
|
43
59
|
return {
|
|
44
|
-
|
|
60
|
+
OidList: {
|
|
61
|
+
items: _p?.items
|
|
62
|
+
}
|
|
45
63
|
};
|
|
46
64
|
},
|
|
47
65
|
intList(_p) {
|
|
48
66
|
return {
|
|
49
|
-
|
|
67
|
+
IntList: {
|
|
68
|
+
items: _p?.items
|
|
69
|
+
}
|
|
50
70
|
};
|
|
51
71
|
},
|
|
52
72
|
alias(_p) {
|
|
53
73
|
return {
|
|
54
|
-
|
|
55
|
-
|
|
74
|
+
Alias: {
|
|
75
|
+
aliasname: _p?.aliasname,
|
|
76
|
+
colnames: _p?.colnames
|
|
77
|
+
}
|
|
56
78
|
};
|
|
57
79
|
},
|
|
58
80
|
rangeVar(_p) {
|
|
59
81
|
return {
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
82
|
+
RangeVar: {
|
|
83
|
+
catalogname: _p?.catalogname,
|
|
84
|
+
schemaname: _p?.schemaname,
|
|
85
|
+
relname: _p?.relname,
|
|
86
|
+
inh: _p?.inh,
|
|
87
|
+
relpersistence: _p?.relpersistence,
|
|
88
|
+
alias: _p?.alias,
|
|
89
|
+
location: _p?.location
|
|
90
|
+
}
|
|
67
91
|
};
|
|
68
92
|
},
|
|
69
93
|
tableFunc(_p) {
|
|
70
94
|
return {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
95
|
+
TableFunc: {
|
|
96
|
+
ns_uris: _p?.ns_uris,
|
|
97
|
+
ns_names: _p?.ns_names,
|
|
98
|
+
docexpr: _p?.docexpr,
|
|
99
|
+
rowexpr: _p?.rowexpr,
|
|
100
|
+
colnames: _p?.colnames,
|
|
101
|
+
coltypes: _p?.coltypes,
|
|
102
|
+
coltypmods: _p?.coltypmods,
|
|
103
|
+
colcollations: _p?.colcollations,
|
|
104
|
+
colexprs: _p?.colexprs,
|
|
105
|
+
coldefexprs: _p?.coldefexprs,
|
|
106
|
+
notnulls: _p?.notnulls,
|
|
107
|
+
ordinalitycol: _p?.ordinalitycol,
|
|
108
|
+
location: _p?.location
|
|
109
|
+
}
|
|
84
110
|
};
|
|
85
111
|
},
|
|
86
112
|
expr(_p) {
|
|
87
|
-
return {
|
|
113
|
+
return {
|
|
114
|
+
Expr: {}
|
|
115
|
+
};
|
|
88
116
|
},
|
|
89
117
|
var(_p) {
|
|
90
118
|
return {
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
119
|
+
Var: {
|
|
120
|
+
xpr: _p?.xpr,
|
|
121
|
+
varno: _p?.varno,
|
|
122
|
+
varattno: _p?.varattno,
|
|
123
|
+
vartype: _p?.vartype,
|
|
124
|
+
vartypmod: _p?.vartypmod,
|
|
125
|
+
varcollid: _p?.varcollid,
|
|
126
|
+
varlevelsup: _p?.varlevelsup,
|
|
127
|
+
varnosyn: _p?.varnosyn,
|
|
128
|
+
varattnosyn: _p?.varattnosyn,
|
|
129
|
+
location: _p?.location
|
|
130
|
+
}
|
|
101
131
|
};
|
|
102
132
|
},
|
|
103
133
|
param(_p) {
|
|
104
134
|
return {
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
135
|
+
Param: {
|
|
136
|
+
xpr: _p?.xpr,
|
|
137
|
+
paramkind: _p?.paramkind,
|
|
138
|
+
paramid: _p?.paramid,
|
|
139
|
+
paramtype: _p?.paramtype,
|
|
140
|
+
paramtypmod: _p?.paramtypmod,
|
|
141
|
+
paramcollid: _p?.paramcollid,
|
|
142
|
+
location: _p?.location
|
|
143
|
+
}
|
|
112
144
|
};
|
|
113
145
|
},
|
|
114
146
|
aggref(_p) {
|
|
115
147
|
return {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
148
|
+
Aggref: {
|
|
149
|
+
xpr: _p?.xpr,
|
|
150
|
+
aggfnoid: _p?.aggfnoid,
|
|
151
|
+
aggtype: _p?.aggtype,
|
|
152
|
+
aggcollid: _p?.aggcollid,
|
|
153
|
+
inputcollid: _p?.inputcollid,
|
|
154
|
+
aggtranstype: _p?.aggtranstype,
|
|
155
|
+
aggargtypes: _p?.aggargtypes,
|
|
156
|
+
aggdirectargs: _p?.aggdirectargs,
|
|
157
|
+
args: _p?.args,
|
|
158
|
+
aggorder: _p?.aggorder,
|
|
159
|
+
aggdistinct: _p?.aggdistinct,
|
|
160
|
+
aggfilter: _p?.aggfilter,
|
|
161
|
+
aggstar: _p?.aggstar,
|
|
162
|
+
aggvariadic: _p?.aggvariadic,
|
|
163
|
+
aggkind: _p?.aggkind,
|
|
164
|
+
agglevelsup: _p?.agglevelsup,
|
|
165
|
+
aggsplit: _p?.aggsplit,
|
|
166
|
+
location: _p?.location
|
|
167
|
+
}
|
|
134
168
|
};
|
|
135
169
|
},
|
|
136
170
|
groupingFunc(_p) {
|
|
137
171
|
return {
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
172
|
+
GroupingFunc: {
|
|
173
|
+
xpr: _p?.xpr,
|
|
174
|
+
args: _p?.args,
|
|
175
|
+
refs: _p?.refs,
|
|
176
|
+
cols: _p?.cols,
|
|
177
|
+
agglevelsup: _p?.agglevelsup,
|
|
178
|
+
location: _p?.location
|
|
179
|
+
}
|
|
144
180
|
};
|
|
145
181
|
},
|
|
146
182
|
windowFunc(_p) {
|
|
147
183
|
return {
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
184
|
+
WindowFunc: {
|
|
185
|
+
xpr: _p?.xpr,
|
|
186
|
+
winfnoid: _p?.winfnoid,
|
|
187
|
+
wintype: _p?.wintype,
|
|
188
|
+
wincollid: _p?.wincollid,
|
|
189
|
+
inputcollid: _p?.inputcollid,
|
|
190
|
+
args: _p?.args,
|
|
191
|
+
aggfilter: _p?.aggfilter,
|
|
192
|
+
winref: _p?.winref,
|
|
193
|
+
winstar: _p?.winstar,
|
|
194
|
+
winagg: _p?.winagg,
|
|
195
|
+
location: _p?.location
|
|
196
|
+
}
|
|
159
197
|
};
|
|
160
198
|
},
|
|
161
199
|
subscriptingRef(_p) {
|
|
162
200
|
return {
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
201
|
+
SubscriptingRef: {
|
|
202
|
+
xpr: _p?.xpr,
|
|
203
|
+
refcontainertype: _p?.refcontainertype,
|
|
204
|
+
refelemtype: _p?.refelemtype,
|
|
205
|
+
reftypmod: _p?.reftypmod,
|
|
206
|
+
refcollid: _p?.refcollid,
|
|
207
|
+
refupperindexpr: _p?.refupperindexpr,
|
|
208
|
+
reflowerindexpr: _p?.reflowerindexpr,
|
|
209
|
+
refexpr: _p?.refexpr,
|
|
210
|
+
refassgnexpr: _p?.refassgnexpr
|
|
211
|
+
}
|
|
172
212
|
};
|
|
173
213
|
},
|
|
174
214
|
funcExpr(_p) {
|
|
175
215
|
return {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
216
|
+
FuncExpr: {
|
|
217
|
+
xpr: _p?.xpr,
|
|
218
|
+
funcid: _p?.funcid,
|
|
219
|
+
funcresulttype: _p?.funcresulttype,
|
|
220
|
+
funcretset: _p?.funcretset,
|
|
221
|
+
funcvariadic: _p?.funcvariadic,
|
|
222
|
+
funcformat: _p?.funcformat,
|
|
223
|
+
funccollid: _p?.funccollid,
|
|
224
|
+
inputcollid: _p?.inputcollid,
|
|
225
|
+
args: _p?.args,
|
|
226
|
+
location: _p?.location
|
|
227
|
+
}
|
|
186
228
|
};
|
|
187
229
|
},
|
|
188
230
|
namedArgExpr(_p) {
|
|
189
231
|
return {
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
232
|
+
NamedArgExpr: {
|
|
233
|
+
xpr: _p?.xpr,
|
|
234
|
+
arg: _p?.arg,
|
|
235
|
+
name: _p?.name,
|
|
236
|
+
argnumber: _p?.argnumber,
|
|
237
|
+
location: _p?.location
|
|
238
|
+
}
|
|
195
239
|
};
|
|
196
240
|
},
|
|
197
241
|
opExpr(_p) {
|
|
198
242
|
return {
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
243
|
+
OpExpr: {
|
|
244
|
+
xpr: _p?.xpr,
|
|
245
|
+
opno: _p?.opno,
|
|
246
|
+
opfuncid: _p?.opfuncid,
|
|
247
|
+
opresulttype: _p?.opresulttype,
|
|
248
|
+
opretset: _p?.opretset,
|
|
249
|
+
opcollid: _p?.opcollid,
|
|
250
|
+
inputcollid: _p?.inputcollid,
|
|
251
|
+
args: _p?.args,
|
|
252
|
+
location: _p?.location
|
|
253
|
+
}
|
|
208
254
|
};
|
|
209
255
|
},
|
|
210
256
|
distinctExpr(_p) {
|
|
211
257
|
return {
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
258
|
+
DistinctExpr: {
|
|
259
|
+
xpr: _p?.xpr,
|
|
260
|
+
opno: _p?.opno,
|
|
261
|
+
opfuncid: _p?.opfuncid,
|
|
262
|
+
opresulttype: _p?.opresulttype,
|
|
263
|
+
opretset: _p?.opretset,
|
|
264
|
+
opcollid: _p?.opcollid,
|
|
265
|
+
inputcollid: _p?.inputcollid,
|
|
266
|
+
args: _p?.args,
|
|
267
|
+
location: _p?.location
|
|
268
|
+
}
|
|
221
269
|
};
|
|
222
270
|
},
|
|
223
271
|
nullIfExpr(_p) {
|
|
224
272
|
return {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
273
|
+
NullIfExpr: {
|
|
274
|
+
xpr: _p?.xpr,
|
|
275
|
+
opno: _p?.opno,
|
|
276
|
+
opfuncid: _p?.opfuncid,
|
|
277
|
+
opresulttype: _p?.opresulttype,
|
|
278
|
+
opretset: _p?.opretset,
|
|
279
|
+
opcollid: _p?.opcollid,
|
|
280
|
+
inputcollid: _p?.inputcollid,
|
|
281
|
+
args: _p?.args,
|
|
282
|
+
location: _p?.location
|
|
283
|
+
}
|
|
234
284
|
};
|
|
235
285
|
},
|
|
236
286
|
scalarArrayOpExpr(_p) {
|
|
237
287
|
return {
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
288
|
+
ScalarArrayOpExpr: {
|
|
289
|
+
xpr: _p?.xpr,
|
|
290
|
+
opno: _p?.opno,
|
|
291
|
+
opfuncid: _p?.opfuncid,
|
|
292
|
+
useOr: _p?.useOr,
|
|
293
|
+
inputcollid: _p?.inputcollid,
|
|
294
|
+
args: _p?.args,
|
|
295
|
+
location: _p?.location
|
|
296
|
+
}
|
|
245
297
|
};
|
|
246
298
|
},
|
|
247
299
|
boolExpr(_p) {
|
|
248
300
|
return {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
301
|
+
BoolExpr: {
|
|
302
|
+
xpr: _p?.xpr,
|
|
303
|
+
boolop: _p?.boolop,
|
|
304
|
+
args: _p?.args,
|
|
305
|
+
location: _p?.location
|
|
306
|
+
}
|
|
253
307
|
};
|
|
254
308
|
},
|
|
255
309
|
subLink(_p) {
|
|
256
310
|
return {
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
311
|
+
SubLink: {
|
|
312
|
+
xpr: _p?.xpr,
|
|
313
|
+
subLinkType: _p?.subLinkType,
|
|
314
|
+
subLinkId: _p?.subLinkId,
|
|
315
|
+
testexpr: _p?.testexpr,
|
|
316
|
+
operName: _p?.operName,
|
|
317
|
+
subselect: _p?.subselect,
|
|
318
|
+
location: _p?.location
|
|
319
|
+
}
|
|
264
320
|
};
|
|
265
321
|
},
|
|
266
322
|
subPlan(_p) {
|
|
267
323
|
return {
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
324
|
+
SubPlan: {
|
|
325
|
+
xpr: _p?.xpr,
|
|
326
|
+
subLinkType: _p?.subLinkType,
|
|
327
|
+
testexpr: _p?.testexpr,
|
|
328
|
+
paramIds: _p?.paramIds,
|
|
329
|
+
plan_id: _p?.plan_id,
|
|
330
|
+
plan_name: _p?.plan_name,
|
|
331
|
+
firstColType: _p?.firstColType,
|
|
332
|
+
firstColTypmod: _p?.firstColTypmod,
|
|
333
|
+
firstColCollation: _p?.firstColCollation,
|
|
334
|
+
useHashTable: _p?.useHashTable,
|
|
335
|
+
unknownEqFalse: _p?.unknownEqFalse,
|
|
336
|
+
parallel_safe: _p?.parallel_safe,
|
|
337
|
+
setParam: _p?.setParam,
|
|
338
|
+
parParam: _p?.parParam,
|
|
339
|
+
args: _p?.args,
|
|
340
|
+
startup_cost: _p?.startup_cost,
|
|
341
|
+
per_call_cost: _p?.per_call_cost
|
|
342
|
+
}
|
|
285
343
|
};
|
|
286
344
|
},
|
|
287
345
|
alternativeSubPlan(_p) {
|
|
288
346
|
return {
|
|
289
|
-
|
|
290
|
-
|
|
347
|
+
AlternativeSubPlan: {
|
|
348
|
+
xpr: _p?.xpr,
|
|
349
|
+
subplans: _p?.subplans
|
|
350
|
+
}
|
|
291
351
|
};
|
|
292
352
|
},
|
|
293
353
|
fieldSelect(_p) {
|
|
294
354
|
return {
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
355
|
+
FieldSelect: {
|
|
356
|
+
xpr: _p?.xpr,
|
|
357
|
+
arg: _p?.arg,
|
|
358
|
+
fieldnum: _p?.fieldnum,
|
|
359
|
+
resulttype: _p?.resulttype,
|
|
360
|
+
resulttypmod: _p?.resulttypmod,
|
|
361
|
+
resultcollid: _p?.resultcollid
|
|
362
|
+
}
|
|
301
363
|
};
|
|
302
364
|
},
|
|
303
365
|
fieldStore(_p) {
|
|
304
366
|
return {
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
367
|
+
FieldStore: {
|
|
368
|
+
xpr: _p?.xpr,
|
|
369
|
+
arg: _p?.arg,
|
|
370
|
+
newvals: _p?.newvals,
|
|
371
|
+
fieldnums: _p?.fieldnums,
|
|
372
|
+
resulttype: _p?.resulttype
|
|
373
|
+
}
|
|
310
374
|
};
|
|
311
375
|
},
|
|
312
376
|
relabelType(_p) {
|
|
313
377
|
return {
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
378
|
+
RelabelType: {
|
|
379
|
+
xpr: _p?.xpr,
|
|
380
|
+
arg: _p?.arg,
|
|
381
|
+
resulttype: _p?.resulttype,
|
|
382
|
+
resulttypmod: _p?.resulttypmod,
|
|
383
|
+
resultcollid: _p?.resultcollid,
|
|
384
|
+
relabelformat: _p?.relabelformat,
|
|
385
|
+
location: _p?.location
|
|
386
|
+
}
|
|
321
387
|
};
|
|
322
388
|
},
|
|
323
389
|
coerceViaio(_p) {
|
|
324
390
|
return {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
391
|
+
CoerceViaIO: {
|
|
392
|
+
xpr: _p?.xpr,
|
|
393
|
+
arg: _p?.arg,
|
|
394
|
+
resulttype: _p?.resulttype,
|
|
395
|
+
resultcollid: _p?.resultcollid,
|
|
396
|
+
coerceformat: _p?.coerceformat,
|
|
397
|
+
location: _p?.location
|
|
398
|
+
}
|
|
331
399
|
};
|
|
332
400
|
},
|
|
333
401
|
arrayCoerceExpr(_p) {
|
|
334
402
|
return {
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
403
|
+
ArrayCoerceExpr: {
|
|
404
|
+
xpr: _p?.xpr,
|
|
405
|
+
arg: _p?.arg,
|
|
406
|
+
elemexpr: _p?.elemexpr,
|
|
407
|
+
resulttype: _p?.resulttype,
|
|
408
|
+
resulttypmod: _p?.resulttypmod,
|
|
409
|
+
resultcollid: _p?.resultcollid,
|
|
410
|
+
coerceformat: _p?.coerceformat,
|
|
411
|
+
location: _p?.location
|
|
412
|
+
}
|
|
343
413
|
};
|
|
344
414
|
},
|
|
345
415
|
convertRowtypeExpr(_p) {
|
|
346
416
|
return {
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
417
|
+
ConvertRowtypeExpr: {
|
|
418
|
+
xpr: _p?.xpr,
|
|
419
|
+
arg: _p?.arg,
|
|
420
|
+
resulttype: _p?.resulttype,
|
|
421
|
+
convertformat: _p?.convertformat,
|
|
422
|
+
location: _p?.location
|
|
423
|
+
}
|
|
352
424
|
};
|
|
353
425
|
},
|
|
354
426
|
collateExpr(_p) {
|
|
355
427
|
return {
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
428
|
+
CollateExpr: {
|
|
429
|
+
xpr: _p?.xpr,
|
|
430
|
+
arg: _p?.arg,
|
|
431
|
+
collOid: _p?.collOid,
|
|
432
|
+
location: _p?.location
|
|
433
|
+
}
|
|
360
434
|
};
|
|
361
435
|
},
|
|
362
436
|
caseExpr(_p) {
|
|
363
437
|
return {
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
438
|
+
CaseExpr: {
|
|
439
|
+
xpr: _p?.xpr,
|
|
440
|
+
casetype: _p?.casetype,
|
|
441
|
+
casecollid: _p?.casecollid,
|
|
442
|
+
arg: _p?.arg,
|
|
443
|
+
args: _p?.args,
|
|
444
|
+
defresult: _p?.defresult,
|
|
445
|
+
location: _p?.location
|
|
446
|
+
}
|
|
371
447
|
};
|
|
372
448
|
},
|
|
373
449
|
caseWhen(_p) {
|
|
374
450
|
return {
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
451
|
+
CaseWhen: {
|
|
452
|
+
xpr: _p?.xpr,
|
|
453
|
+
expr: _p?.expr,
|
|
454
|
+
result: _p?.result,
|
|
455
|
+
location: _p?.location
|
|
456
|
+
}
|
|
379
457
|
};
|
|
380
458
|
},
|
|
381
459
|
caseTestExpr(_p) {
|
|
382
460
|
return {
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
461
|
+
CaseTestExpr: {
|
|
462
|
+
xpr: _p?.xpr,
|
|
463
|
+
typeId: _p?.typeId,
|
|
464
|
+
typeMod: _p?.typeMod,
|
|
465
|
+
collation: _p?.collation
|
|
466
|
+
}
|
|
387
467
|
};
|
|
388
468
|
},
|
|
389
469
|
arrayExpr(_p) {
|
|
390
470
|
return {
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
471
|
+
ArrayExpr: {
|
|
472
|
+
xpr: _p?.xpr,
|
|
473
|
+
array_typeid: _p?.array_typeid,
|
|
474
|
+
array_collid: _p?.array_collid,
|
|
475
|
+
element_typeid: _p?.element_typeid,
|
|
476
|
+
elements: _p?.elements,
|
|
477
|
+
multidims: _p?.multidims,
|
|
478
|
+
location: _p?.location
|
|
479
|
+
}
|
|
398
480
|
};
|
|
399
481
|
},
|
|
400
482
|
rowExpr(_p) {
|
|
401
483
|
return {
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
484
|
+
RowExpr: {
|
|
485
|
+
xpr: _p?.xpr,
|
|
486
|
+
args: _p?.args,
|
|
487
|
+
row_typeid: _p?.row_typeid,
|
|
488
|
+
row_format: _p?.row_format,
|
|
489
|
+
colnames: _p?.colnames,
|
|
490
|
+
location: _p?.location
|
|
491
|
+
}
|
|
408
492
|
};
|
|
409
493
|
},
|
|
410
494
|
rowCompareExpr(_p) {
|
|
411
495
|
return {
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
496
|
+
RowCompareExpr: {
|
|
497
|
+
xpr: _p?.xpr,
|
|
498
|
+
rctype: _p?.rctype,
|
|
499
|
+
opnos: _p?.opnos,
|
|
500
|
+
opfamilies: _p?.opfamilies,
|
|
501
|
+
inputcollids: _p?.inputcollids,
|
|
502
|
+
largs: _p?.largs,
|
|
503
|
+
rargs: _p?.rargs
|
|
504
|
+
}
|
|
419
505
|
};
|
|
420
506
|
},
|
|
421
507
|
coalesceExpr(_p) {
|
|
422
508
|
return {
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
509
|
+
CoalesceExpr: {
|
|
510
|
+
xpr: _p?.xpr,
|
|
511
|
+
coalescetype: _p?.coalescetype,
|
|
512
|
+
coalescecollid: _p?.coalescecollid,
|
|
513
|
+
args: _p?.args,
|
|
514
|
+
location: _p?.location
|
|
515
|
+
}
|
|
428
516
|
};
|
|
429
517
|
},
|
|
430
518
|
minMaxExpr(_p) {
|
|
431
519
|
return {
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
520
|
+
MinMaxExpr: {
|
|
521
|
+
xpr: _p?.xpr,
|
|
522
|
+
minmaxtype: _p?.minmaxtype,
|
|
523
|
+
minmaxcollid: _p?.minmaxcollid,
|
|
524
|
+
inputcollid: _p?.inputcollid,
|
|
525
|
+
op: _p?.op,
|
|
526
|
+
args: _p?.args,
|
|
527
|
+
location: _p?.location
|
|
528
|
+
}
|
|
439
529
|
};
|
|
440
530
|
},
|
|
441
531
|
sqlValueFunction(_p) {
|
|
442
532
|
return {
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
533
|
+
SQLValueFunction: {
|
|
534
|
+
xpr: _p?.xpr,
|
|
535
|
+
op: _p?.op,
|
|
536
|
+
type: _p?.type,
|
|
537
|
+
typmod: _p?.typmod,
|
|
538
|
+
location: _p?.location
|
|
539
|
+
}
|
|
448
540
|
};
|
|
449
541
|
},
|
|
450
542
|
xmlExpr(_p) {
|
|
451
543
|
return {
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
544
|
+
XmlExpr: {
|
|
545
|
+
xpr: _p?.xpr,
|
|
546
|
+
op: _p?.op,
|
|
547
|
+
name: _p?.name,
|
|
548
|
+
named_args: _p?.named_args,
|
|
549
|
+
arg_names: _p?.arg_names,
|
|
550
|
+
args: _p?.args,
|
|
551
|
+
xmloption: _p?.xmloption,
|
|
552
|
+
type: _p?.type,
|
|
553
|
+
typmod: _p?.typmod,
|
|
554
|
+
location: _p?.location
|
|
555
|
+
}
|
|
462
556
|
};
|
|
463
557
|
},
|
|
464
558
|
nullTest(_p) {
|
|
465
559
|
return {
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
560
|
+
NullTest: {
|
|
561
|
+
xpr: _p?.xpr,
|
|
562
|
+
arg: _p?.arg,
|
|
563
|
+
nulltesttype: _p?.nulltesttype,
|
|
564
|
+
argisrow: _p?.argisrow,
|
|
565
|
+
location: _p?.location
|
|
566
|
+
}
|
|
471
567
|
};
|
|
472
568
|
},
|
|
473
569
|
booleanTest(_p) {
|
|
474
570
|
return {
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
571
|
+
BooleanTest: {
|
|
572
|
+
xpr: _p?.xpr,
|
|
573
|
+
arg: _p?.arg,
|
|
574
|
+
booltesttype: _p?.booltesttype,
|
|
575
|
+
location: _p?.location
|
|
576
|
+
}
|
|
479
577
|
};
|
|
480
578
|
},
|
|
481
579
|
coerceToDomain(_p) {
|
|
482
580
|
return {
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
581
|
+
CoerceToDomain: {
|
|
582
|
+
xpr: _p?.xpr,
|
|
583
|
+
arg: _p?.arg,
|
|
584
|
+
resulttype: _p?.resulttype,
|
|
585
|
+
resulttypmod: _p?.resulttypmod,
|
|
586
|
+
resultcollid: _p?.resultcollid,
|
|
587
|
+
coercionformat: _p?.coercionformat,
|
|
588
|
+
location: _p?.location
|
|
589
|
+
}
|
|
490
590
|
};
|
|
491
591
|
},
|
|
492
592
|
coerceToDomainValue(_p) {
|
|
493
593
|
return {
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
594
|
+
CoerceToDomainValue: {
|
|
595
|
+
xpr: _p?.xpr,
|
|
596
|
+
typeId: _p?.typeId,
|
|
597
|
+
typeMod: _p?.typeMod,
|
|
598
|
+
collation: _p?.collation,
|
|
599
|
+
location: _p?.location
|
|
600
|
+
}
|
|
499
601
|
};
|
|
500
602
|
},
|
|
501
603
|
setToDefault(_p) {
|
|
502
604
|
return {
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
605
|
+
SetToDefault: {
|
|
606
|
+
xpr: _p?.xpr,
|
|
607
|
+
typeId: _p?.typeId,
|
|
608
|
+
typeMod: _p?.typeMod,
|
|
609
|
+
collation: _p?.collation,
|
|
610
|
+
location: _p?.location
|
|
611
|
+
}
|
|
508
612
|
};
|
|
509
613
|
},
|
|
510
614
|
currentOfExpr(_p) {
|
|
511
615
|
return {
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
616
|
+
CurrentOfExpr: {
|
|
617
|
+
xpr: _p?.xpr,
|
|
618
|
+
cvarno: _p?.cvarno,
|
|
619
|
+
cursor_name: _p?.cursor_name,
|
|
620
|
+
cursor_param: _p?.cursor_param
|
|
621
|
+
}
|
|
516
622
|
};
|
|
517
623
|
},
|
|
518
624
|
nextValueExpr(_p) {
|
|
519
625
|
return {
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
626
|
+
NextValueExpr: {
|
|
627
|
+
xpr: _p?.xpr,
|
|
628
|
+
seqid: _p?.seqid,
|
|
629
|
+
typeId: _p?.typeId
|
|
630
|
+
}
|
|
523
631
|
};
|
|
524
632
|
},
|
|
525
633
|
inferenceElem(_p) {
|
|
526
634
|
return {
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
635
|
+
InferenceElem: {
|
|
636
|
+
xpr: _p?.xpr,
|
|
637
|
+
expr: _p?.expr,
|
|
638
|
+
infercollid: _p?.infercollid,
|
|
639
|
+
inferopclass: _p?.inferopclass
|
|
640
|
+
}
|
|
531
641
|
};
|
|
532
642
|
},
|
|
533
643
|
targetEntry(_p) {
|
|
534
644
|
return {
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
645
|
+
TargetEntry: {
|
|
646
|
+
xpr: _p?.xpr,
|
|
647
|
+
expr: _p?.expr,
|
|
648
|
+
resno: _p?.resno,
|
|
649
|
+
resname: _p?.resname,
|
|
650
|
+
ressortgroupref: _p?.ressortgroupref,
|
|
651
|
+
resorigtbl: _p?.resorigtbl,
|
|
652
|
+
resorigcol: _p?.resorigcol,
|
|
653
|
+
resjunk: _p?.resjunk
|
|
654
|
+
}
|
|
543
655
|
};
|
|
544
656
|
},
|
|
545
657
|
rangeTblRef(_p) {
|
|
546
658
|
return {
|
|
547
|
-
|
|
659
|
+
RangeTblRef: {
|
|
660
|
+
rtindex: _p?.rtindex
|
|
661
|
+
}
|
|
548
662
|
};
|
|
549
663
|
},
|
|
550
664
|
joinExpr(_p) {
|
|
551
665
|
return {
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
666
|
+
JoinExpr: {
|
|
667
|
+
jointype: _p?.jointype,
|
|
668
|
+
isNatural: _p?.isNatural,
|
|
669
|
+
larg: _p?.larg,
|
|
670
|
+
rarg: _p?.rarg,
|
|
671
|
+
usingClause: _p?.usingClause,
|
|
672
|
+
quals: _p?.quals,
|
|
673
|
+
alias: _p?.alias,
|
|
674
|
+
rtindex: _p?.rtindex
|
|
675
|
+
}
|
|
560
676
|
};
|
|
561
677
|
},
|
|
562
678
|
fromExpr(_p) {
|
|
563
679
|
return {
|
|
564
|
-
|
|
565
|
-
|
|
680
|
+
FromExpr: {
|
|
681
|
+
fromlist: _p?.fromlist,
|
|
682
|
+
quals: _p?.quals
|
|
683
|
+
}
|
|
566
684
|
};
|
|
567
685
|
},
|
|
568
686
|
onConflictExpr(_p) {
|
|
569
687
|
return {
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
688
|
+
OnConflictExpr: {
|
|
689
|
+
action: _p?.action,
|
|
690
|
+
arbiterElems: _p?.arbiterElems,
|
|
691
|
+
arbiterWhere: _p?.arbiterWhere,
|
|
692
|
+
constraint: _p?.constraint,
|
|
693
|
+
onConflictSet: _p?.onConflictSet,
|
|
694
|
+
onConflictWhere: _p?.onConflictWhere,
|
|
695
|
+
exclRelIndex: _p?.exclRelIndex,
|
|
696
|
+
exclRelTlist: _p?.exclRelTlist
|
|
697
|
+
}
|
|
578
698
|
};
|
|
579
699
|
},
|
|
580
700
|
intoClause(_p) {
|
|
581
701
|
return {
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
702
|
+
IntoClause: {
|
|
703
|
+
rel: _p?.rel,
|
|
704
|
+
colNames: _p?.colNames,
|
|
705
|
+
accessMethod: _p?.accessMethod,
|
|
706
|
+
options: _p?.options,
|
|
707
|
+
onCommit: _p?.onCommit,
|
|
708
|
+
tableSpaceName: _p?.tableSpaceName,
|
|
709
|
+
viewQuery: _p?.viewQuery,
|
|
710
|
+
skipData: _p?.skipData
|
|
711
|
+
}
|
|
590
712
|
};
|
|
591
713
|
},
|
|
592
714
|
rawStmt(_p) {
|
|
593
715
|
return {
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
716
|
+
RawStmt: {
|
|
717
|
+
stmt: _p?.stmt,
|
|
718
|
+
stmt_location: _p?.stmt_location,
|
|
719
|
+
stmt_len: _p?.stmt_len
|
|
720
|
+
}
|
|
597
721
|
};
|
|
598
722
|
},
|
|
599
723
|
query(_p) {
|
|
600
724
|
return {
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
725
|
+
Query: {
|
|
726
|
+
commandType: _p?.commandType,
|
|
727
|
+
querySource: _p?.querySource,
|
|
728
|
+
canSetTag: _p?.canSetTag,
|
|
729
|
+
utilityStmt: _p?.utilityStmt,
|
|
730
|
+
resultRelation: _p?.resultRelation,
|
|
731
|
+
hasAggs: _p?.hasAggs,
|
|
732
|
+
hasWindowFuncs: _p?.hasWindowFuncs,
|
|
733
|
+
hasTargetSRFs: _p?.hasTargetSRFs,
|
|
734
|
+
hasSubLinks: _p?.hasSubLinks,
|
|
735
|
+
hasDistinctOn: _p?.hasDistinctOn,
|
|
736
|
+
hasRecursive: _p?.hasRecursive,
|
|
737
|
+
hasModifyingCTE: _p?.hasModifyingCTE,
|
|
738
|
+
hasForUpdate: _p?.hasForUpdate,
|
|
739
|
+
hasRowSecurity: _p?.hasRowSecurity,
|
|
740
|
+
cteList: _p?.cteList,
|
|
741
|
+
rtable: _p?.rtable,
|
|
742
|
+
jointree: _p?.jointree,
|
|
743
|
+
targetList: _p?.targetList,
|
|
744
|
+
override: _p?.override,
|
|
745
|
+
onConflict: _p?.onConflict,
|
|
746
|
+
returningList: _p?.returningList,
|
|
747
|
+
groupClause: _p?.groupClause,
|
|
748
|
+
groupingSets: _p?.groupingSets,
|
|
749
|
+
havingQual: _p?.havingQual,
|
|
750
|
+
windowClause: _p?.windowClause,
|
|
751
|
+
distinctClause: _p?.distinctClause,
|
|
752
|
+
sortClause: _p?.sortClause,
|
|
753
|
+
limitOffset: _p?.limitOffset,
|
|
754
|
+
limitCount: _p?.limitCount,
|
|
755
|
+
limitOption: _p?.limitOption,
|
|
756
|
+
rowMarks: _p?.rowMarks,
|
|
757
|
+
setOperations: _p?.setOperations,
|
|
758
|
+
constraintDeps: _p?.constraintDeps,
|
|
759
|
+
withCheckOptions: _p?.withCheckOptions,
|
|
760
|
+
stmt_location: _p?.stmt_location,
|
|
761
|
+
stmt_len: _p?.stmt_len
|
|
762
|
+
}
|
|
637
763
|
};
|
|
638
764
|
},
|
|
639
765
|
insertStmt(_p) {
|
|
640
766
|
return {
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
767
|
+
InsertStmt: {
|
|
768
|
+
relation: _p?.relation,
|
|
769
|
+
cols: _p?.cols,
|
|
770
|
+
selectStmt: _p?.selectStmt,
|
|
771
|
+
onConflictClause: _p?.onConflictClause,
|
|
772
|
+
returningList: _p?.returningList,
|
|
773
|
+
withClause: _p?.withClause,
|
|
774
|
+
override: _p?.override
|
|
775
|
+
}
|
|
648
776
|
};
|
|
649
777
|
},
|
|
650
778
|
deleteStmt(_p) {
|
|
651
779
|
return {
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
780
|
+
DeleteStmt: {
|
|
781
|
+
relation: _p?.relation,
|
|
782
|
+
usingClause: _p?.usingClause,
|
|
783
|
+
whereClause: _p?.whereClause,
|
|
784
|
+
returningList: _p?.returningList,
|
|
785
|
+
withClause: _p?.withClause
|
|
786
|
+
}
|
|
657
787
|
};
|
|
658
788
|
},
|
|
659
789
|
updateStmt(_p) {
|
|
660
790
|
return {
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
791
|
+
UpdateStmt: {
|
|
792
|
+
relation: _p?.relation,
|
|
793
|
+
targetList: _p?.targetList,
|
|
794
|
+
whereClause: _p?.whereClause,
|
|
795
|
+
fromClause: _p?.fromClause,
|
|
796
|
+
returningList: _p?.returningList,
|
|
797
|
+
withClause: _p?.withClause
|
|
798
|
+
}
|
|
667
799
|
};
|
|
668
800
|
},
|
|
669
801
|
selectStmt(_p) {
|
|
670
802
|
return {
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
803
|
+
SelectStmt: {
|
|
804
|
+
distinctClause: _p?.distinctClause,
|
|
805
|
+
intoClause: _p?.intoClause,
|
|
806
|
+
targetList: _p?.targetList,
|
|
807
|
+
fromClause: _p?.fromClause,
|
|
808
|
+
whereClause: _p?.whereClause,
|
|
809
|
+
groupClause: _p?.groupClause,
|
|
810
|
+
havingClause: _p?.havingClause,
|
|
811
|
+
windowClause: _p?.windowClause,
|
|
812
|
+
valuesLists: _p?.valuesLists,
|
|
813
|
+
sortClause: _p?.sortClause,
|
|
814
|
+
limitOffset: _p?.limitOffset,
|
|
815
|
+
limitCount: _p?.limitCount,
|
|
816
|
+
limitOption: _p?.limitOption,
|
|
817
|
+
lockingClause: _p?.lockingClause,
|
|
818
|
+
withClause: _p?.withClause,
|
|
819
|
+
op: _p?.op,
|
|
820
|
+
all: _p?.all,
|
|
821
|
+
larg: _p?.larg,
|
|
822
|
+
rarg: _p?.rarg
|
|
823
|
+
}
|
|
690
824
|
};
|
|
691
825
|
},
|
|
692
826
|
alterTableStmt(_p) {
|
|
693
827
|
return {
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
828
|
+
AlterTableStmt: {
|
|
829
|
+
relation: _p?.relation,
|
|
830
|
+
cmds: _p?.cmds,
|
|
831
|
+
relkind: _p?.relkind,
|
|
832
|
+
missing_ok: _p?.missing_ok
|
|
833
|
+
}
|
|
698
834
|
};
|
|
699
835
|
},
|
|
700
836
|
alterTableCmd(_p) {
|
|
701
837
|
return {
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
838
|
+
AlterTableCmd: {
|
|
839
|
+
subtype: _p?.subtype,
|
|
840
|
+
name: _p?.name,
|
|
841
|
+
num: _p?.num,
|
|
842
|
+
newowner: _p?.newowner,
|
|
843
|
+
def: _p?.def,
|
|
844
|
+
behavior: _p?.behavior,
|
|
845
|
+
missing_ok: _p?.missing_ok,
|
|
846
|
+
recurse: _p?.recurse
|
|
847
|
+
}
|
|
710
848
|
};
|
|
711
849
|
},
|
|
712
850
|
alterDomainStmt(_p) {
|
|
713
851
|
return {
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
852
|
+
AlterDomainStmt: {
|
|
853
|
+
subtype: _p?.subtype,
|
|
854
|
+
typeName: _p?.typeName,
|
|
855
|
+
name: _p?.name,
|
|
856
|
+
def: _p?.def,
|
|
857
|
+
behavior: _p?.behavior,
|
|
858
|
+
missing_ok: _p?.missing_ok
|
|
859
|
+
}
|
|
720
860
|
};
|
|
721
861
|
},
|
|
722
862
|
setOperationStmt(_p) {
|
|
723
863
|
return {
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
864
|
+
SetOperationStmt: {
|
|
865
|
+
op: _p?.op,
|
|
866
|
+
all: _p?.all,
|
|
867
|
+
larg: _p?.larg,
|
|
868
|
+
rarg: _p?.rarg,
|
|
869
|
+
colTypes: _p?.colTypes,
|
|
870
|
+
colTypmods: _p?.colTypmods,
|
|
871
|
+
colCollations: _p?.colCollations,
|
|
872
|
+
groupClauses: _p?.groupClauses
|
|
873
|
+
}
|
|
732
874
|
};
|
|
733
875
|
},
|
|
734
876
|
grantStmt(_p) {
|
|
735
877
|
return {
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
878
|
+
GrantStmt: {
|
|
879
|
+
is_grant: _p?.is_grant,
|
|
880
|
+
targtype: _p?.targtype,
|
|
881
|
+
objtype: _p?.objtype,
|
|
882
|
+
objects: _p?.objects,
|
|
883
|
+
privileges: _p?.privileges,
|
|
884
|
+
grantees: _p?.grantees,
|
|
885
|
+
grant_option: _p?.grant_option,
|
|
886
|
+
behavior: _p?.behavior
|
|
887
|
+
}
|
|
744
888
|
};
|
|
745
889
|
},
|
|
746
890
|
grantRoleStmt(_p) {
|
|
747
891
|
return {
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
892
|
+
GrantRoleStmt: {
|
|
893
|
+
granted_roles: _p?.granted_roles,
|
|
894
|
+
grantee_roles: _p?.grantee_roles,
|
|
895
|
+
is_grant: _p?.is_grant,
|
|
896
|
+
admin_opt: _p?.admin_opt,
|
|
897
|
+
grantor: _p?.grantor,
|
|
898
|
+
behavior: _p?.behavior
|
|
899
|
+
}
|
|
754
900
|
};
|
|
755
901
|
},
|
|
756
902
|
alterDefaultPrivilegesStmt(_p) {
|
|
757
903
|
return {
|
|
758
|
-
|
|
759
|
-
|
|
904
|
+
AlterDefaultPrivilegesStmt: {
|
|
905
|
+
options: _p?.options,
|
|
906
|
+
action: _p?.action
|
|
907
|
+
}
|
|
760
908
|
};
|
|
761
909
|
},
|
|
762
910
|
closePortalStmt(_p) {
|
|
763
911
|
return {
|
|
764
|
-
|
|
912
|
+
ClosePortalStmt: {
|
|
913
|
+
portalname: _p?.portalname
|
|
914
|
+
}
|
|
765
915
|
};
|
|
766
916
|
},
|
|
767
917
|
clusterStmt(_p) {
|
|
768
918
|
return {
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
919
|
+
ClusterStmt: {
|
|
920
|
+
relation: _p?.relation,
|
|
921
|
+
indexname: _p?.indexname,
|
|
922
|
+
options: _p?.options
|
|
923
|
+
}
|
|
772
924
|
};
|
|
773
925
|
},
|
|
774
926
|
copyStmt(_p) {
|
|
775
927
|
return {
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
928
|
+
CopyStmt: {
|
|
929
|
+
relation: _p?.relation,
|
|
930
|
+
query: _p?.query,
|
|
931
|
+
attlist: _p?.attlist,
|
|
932
|
+
is_from: _p?.is_from,
|
|
933
|
+
is_program: _p?.is_program,
|
|
934
|
+
filename: _p?.filename,
|
|
935
|
+
options: _p?.options,
|
|
936
|
+
whereClause: _p?.whereClause
|
|
937
|
+
}
|
|
784
938
|
};
|
|
785
939
|
},
|
|
786
940
|
createStmt(_p) {
|
|
787
941
|
return {
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
942
|
+
CreateStmt: {
|
|
943
|
+
relation: _p?.relation,
|
|
944
|
+
tableElts: _p?.tableElts,
|
|
945
|
+
inhRelations: _p?.inhRelations,
|
|
946
|
+
partbound: _p?.partbound,
|
|
947
|
+
partspec: _p?.partspec,
|
|
948
|
+
ofTypename: _p?.ofTypename,
|
|
949
|
+
constraints: _p?.constraints,
|
|
950
|
+
options: _p?.options,
|
|
951
|
+
oncommit: _p?.oncommit,
|
|
952
|
+
tablespacename: _p?.tablespacename,
|
|
953
|
+
accessMethod: _p?.accessMethod,
|
|
954
|
+
if_not_exists: _p?.if_not_exists
|
|
955
|
+
}
|
|
800
956
|
};
|
|
801
957
|
},
|
|
802
958
|
defineStmt(_p) {
|
|
803
959
|
return {
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
960
|
+
DefineStmt: {
|
|
961
|
+
kind: _p?.kind,
|
|
962
|
+
oldstyle: _p?.oldstyle,
|
|
963
|
+
defnames: _p?.defnames,
|
|
964
|
+
args: _p?.args,
|
|
965
|
+
definition: _p?.definition,
|
|
966
|
+
if_not_exists: _p?.if_not_exists,
|
|
967
|
+
replace: _p?.replace
|
|
968
|
+
}
|
|
811
969
|
};
|
|
812
970
|
},
|
|
813
971
|
dropStmt(_p) {
|
|
814
972
|
return {
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
973
|
+
DropStmt: {
|
|
974
|
+
objects: _p?.objects,
|
|
975
|
+
removeType: _p?.removeType,
|
|
976
|
+
behavior: _p?.behavior,
|
|
977
|
+
missing_ok: _p?.missing_ok,
|
|
978
|
+
concurrent: _p?.concurrent
|
|
979
|
+
}
|
|
820
980
|
};
|
|
821
981
|
},
|
|
822
982
|
truncateStmt(_p) {
|
|
823
983
|
return {
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
984
|
+
TruncateStmt: {
|
|
985
|
+
relations: _p?.relations,
|
|
986
|
+
restart_seqs: _p?.restart_seqs,
|
|
987
|
+
behavior: _p?.behavior
|
|
988
|
+
}
|
|
827
989
|
};
|
|
828
990
|
},
|
|
829
991
|
commentStmt(_p) {
|
|
830
992
|
return {
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
993
|
+
CommentStmt: {
|
|
994
|
+
objtype: _p?.objtype,
|
|
995
|
+
object: _p?.object,
|
|
996
|
+
comment: _p?.comment
|
|
997
|
+
}
|
|
834
998
|
};
|
|
835
999
|
},
|
|
836
1000
|
fetchStmt(_p) {
|
|
837
1001
|
return {
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
1002
|
+
FetchStmt: {
|
|
1003
|
+
direction: _p?.direction,
|
|
1004
|
+
howMany: _p?.howMany,
|
|
1005
|
+
portalname: _p?.portalname,
|
|
1006
|
+
ismove: _p?.ismove
|
|
1007
|
+
}
|
|
842
1008
|
};
|
|
843
1009
|
},
|
|
844
1010
|
indexStmt(_p) {
|
|
845
1011
|
return {
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
1012
|
+
IndexStmt: {
|
|
1013
|
+
idxname: _p?.idxname,
|
|
1014
|
+
relation: _p?.relation,
|
|
1015
|
+
accessMethod: _p?.accessMethod,
|
|
1016
|
+
tableSpace: _p?.tableSpace,
|
|
1017
|
+
indexParams: _p?.indexParams,
|
|
1018
|
+
indexIncludingParams: _p?.indexIncludingParams,
|
|
1019
|
+
options: _p?.options,
|
|
1020
|
+
whereClause: _p?.whereClause,
|
|
1021
|
+
excludeOpNames: _p?.excludeOpNames,
|
|
1022
|
+
idxcomment: _p?.idxcomment,
|
|
1023
|
+
indexOid: _p?.indexOid,
|
|
1024
|
+
oldNode: _p?.oldNode,
|
|
1025
|
+
oldCreateSubid: _p?.oldCreateSubid,
|
|
1026
|
+
oldFirstRelfilenodeSubid: _p?.oldFirstRelfilenodeSubid,
|
|
1027
|
+
unique: _p?.unique,
|
|
1028
|
+
primary: _p?.primary,
|
|
1029
|
+
isconstraint: _p?.isconstraint,
|
|
1030
|
+
deferrable: _p?.deferrable,
|
|
1031
|
+
initdeferred: _p?.initdeferred,
|
|
1032
|
+
transformed: _p?.transformed,
|
|
1033
|
+
concurrent: _p?.concurrent,
|
|
1034
|
+
if_not_exists: _p?.if_not_exists,
|
|
1035
|
+
reset_default_tblspc: _p?.reset_default_tblspc
|
|
1036
|
+
}
|
|
869
1037
|
};
|
|
870
1038
|
},
|
|
871
1039
|
createFunctionStmt(_p) {
|
|
872
1040
|
return {
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
1041
|
+
CreateFunctionStmt: {
|
|
1042
|
+
is_procedure: _p?.is_procedure,
|
|
1043
|
+
replace: _p?.replace,
|
|
1044
|
+
funcname: _p?.funcname,
|
|
1045
|
+
parameters: _p?.parameters,
|
|
1046
|
+
returnType: _p?.returnType,
|
|
1047
|
+
options: _p?.options
|
|
1048
|
+
}
|
|
879
1049
|
};
|
|
880
1050
|
},
|
|
881
1051
|
alterFunctionStmt(_p) {
|
|
882
1052
|
return {
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
1053
|
+
AlterFunctionStmt: {
|
|
1054
|
+
objtype: _p?.objtype,
|
|
1055
|
+
func: _p?.func,
|
|
1056
|
+
actions: _p?.actions
|
|
1057
|
+
}
|
|
886
1058
|
};
|
|
887
1059
|
},
|
|
888
1060
|
doStmt(_p) {
|
|
889
1061
|
return {
|
|
890
|
-
|
|
1062
|
+
DoStmt: {
|
|
1063
|
+
args: _p?.args
|
|
1064
|
+
}
|
|
891
1065
|
};
|
|
892
1066
|
},
|
|
893
1067
|
renameStmt(_p) {
|
|
894
1068
|
return {
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
1069
|
+
RenameStmt: {
|
|
1070
|
+
renameType: _p?.renameType,
|
|
1071
|
+
relationType: _p?.relationType,
|
|
1072
|
+
relation: _p?.relation,
|
|
1073
|
+
object: _p?.object,
|
|
1074
|
+
subname: _p?.subname,
|
|
1075
|
+
newname: _p?.newname,
|
|
1076
|
+
behavior: _p?.behavior,
|
|
1077
|
+
missing_ok: _p?.missing_ok
|
|
1078
|
+
}
|
|
903
1079
|
};
|
|
904
1080
|
},
|
|
905
1081
|
ruleStmt(_p) {
|
|
906
1082
|
return {
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
1083
|
+
RuleStmt: {
|
|
1084
|
+
relation: _p?.relation,
|
|
1085
|
+
rulename: _p?.rulename,
|
|
1086
|
+
whereClause: _p?.whereClause,
|
|
1087
|
+
event: _p?.event,
|
|
1088
|
+
instead: _p?.instead,
|
|
1089
|
+
actions: _p?.actions,
|
|
1090
|
+
replace: _p?.replace
|
|
1091
|
+
}
|
|
914
1092
|
};
|
|
915
1093
|
},
|
|
916
1094
|
notifyStmt(_p) {
|
|
917
1095
|
return {
|
|
918
|
-
|
|
919
|
-
|
|
1096
|
+
NotifyStmt: {
|
|
1097
|
+
conditionname: _p?.conditionname,
|
|
1098
|
+
payload: _p?.payload
|
|
1099
|
+
}
|
|
920
1100
|
};
|
|
921
1101
|
},
|
|
922
1102
|
listenStmt(_p) {
|
|
923
1103
|
return {
|
|
924
|
-
|
|
1104
|
+
ListenStmt: {
|
|
1105
|
+
conditionname: _p?.conditionname
|
|
1106
|
+
}
|
|
925
1107
|
};
|
|
926
1108
|
},
|
|
927
1109
|
unlistenStmt(_p) {
|
|
928
1110
|
return {
|
|
929
|
-
|
|
1111
|
+
UnlistenStmt: {
|
|
1112
|
+
conditionname: _p?.conditionname
|
|
1113
|
+
}
|
|
930
1114
|
};
|
|
931
1115
|
},
|
|
932
1116
|
transactionStmt(_p) {
|
|
933
1117
|
return {
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
1118
|
+
TransactionStmt: {
|
|
1119
|
+
kind: _p?.kind,
|
|
1120
|
+
options: _p?.options,
|
|
1121
|
+
savepoint_name: _p?.savepoint_name,
|
|
1122
|
+
gid: _p?.gid,
|
|
1123
|
+
chain: _p?.chain
|
|
1124
|
+
}
|
|
939
1125
|
};
|
|
940
1126
|
},
|
|
941
1127
|
viewStmt(_p) {
|
|
942
1128
|
return {
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
1129
|
+
ViewStmt: {
|
|
1130
|
+
view: _p?.view,
|
|
1131
|
+
aliases: _p?.aliases,
|
|
1132
|
+
query: _p?.query,
|
|
1133
|
+
replace: _p?.replace,
|
|
1134
|
+
options: _p?.options,
|
|
1135
|
+
withCheckOption: _p?.withCheckOption
|
|
1136
|
+
}
|
|
949
1137
|
};
|
|
950
1138
|
},
|
|
951
1139
|
loadStmt(_p) {
|
|
952
1140
|
return {
|
|
953
|
-
|
|
1141
|
+
LoadStmt: {
|
|
1142
|
+
filename: _p?.filename
|
|
1143
|
+
}
|
|
954
1144
|
};
|
|
955
1145
|
},
|
|
956
1146
|
createDomainStmt(_p) {
|
|
957
1147
|
return {
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
1148
|
+
CreateDomainStmt: {
|
|
1149
|
+
domainname: _p?.domainname,
|
|
1150
|
+
typeName: _p?.typeName,
|
|
1151
|
+
collClause: _p?.collClause,
|
|
1152
|
+
constraints: _p?.constraints
|
|
1153
|
+
}
|
|
962
1154
|
};
|
|
963
1155
|
},
|
|
964
1156
|
createdbStmt(_p) {
|
|
965
1157
|
return {
|
|
966
|
-
|
|
967
|
-
|
|
1158
|
+
CreatedbStmt: {
|
|
1159
|
+
dbname: _p?.dbname,
|
|
1160
|
+
options: _p?.options
|
|
1161
|
+
}
|
|
968
1162
|
};
|
|
969
1163
|
},
|
|
970
1164
|
dropdbStmt(_p) {
|
|
971
1165
|
return {
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
1166
|
+
DropdbStmt: {
|
|
1167
|
+
dbname: _p?.dbname,
|
|
1168
|
+
missing_ok: _p?.missing_ok,
|
|
1169
|
+
options: _p?.options
|
|
1170
|
+
}
|
|
975
1171
|
};
|
|
976
1172
|
},
|
|
977
1173
|
vacuumStmt(_p) {
|
|
978
1174
|
return {
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
1175
|
+
VacuumStmt: {
|
|
1176
|
+
options: _p?.options,
|
|
1177
|
+
rels: _p?.rels,
|
|
1178
|
+
is_vacuumcmd: _p?.is_vacuumcmd
|
|
1179
|
+
}
|
|
982
1180
|
};
|
|
983
1181
|
},
|
|
984
1182
|
explainStmt(_p) {
|
|
985
1183
|
return {
|
|
986
|
-
|
|
987
|
-
|
|
1184
|
+
ExplainStmt: {
|
|
1185
|
+
query: _p?.query,
|
|
1186
|
+
options: _p?.options
|
|
1187
|
+
}
|
|
988
1188
|
};
|
|
989
1189
|
},
|
|
990
1190
|
createTableAsStmt(_p) {
|
|
991
1191
|
return {
|
|
992
|
-
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
1192
|
+
CreateTableAsStmt: {
|
|
1193
|
+
query: _p?.query,
|
|
1194
|
+
into: _p?.into,
|
|
1195
|
+
relkind: _p?.relkind,
|
|
1196
|
+
is_select_into: _p?.is_select_into,
|
|
1197
|
+
if_not_exists: _p?.if_not_exists
|
|
1198
|
+
}
|
|
997
1199
|
};
|
|
998
1200
|
},
|
|
999
1201
|
createSeqStmt(_p) {
|
|
1000
1202
|
return {
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1203
|
+
CreateSeqStmt: {
|
|
1204
|
+
sequence: _p?.sequence,
|
|
1205
|
+
options: _p?.options,
|
|
1206
|
+
ownerId: _p?.ownerId,
|
|
1207
|
+
for_identity: _p?.for_identity,
|
|
1208
|
+
if_not_exists: _p?.if_not_exists
|
|
1209
|
+
}
|
|
1006
1210
|
};
|
|
1007
1211
|
},
|
|
1008
1212
|
alterSeqStmt(_p) {
|
|
1009
1213
|
return {
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1214
|
+
AlterSeqStmt: {
|
|
1215
|
+
sequence: _p?.sequence,
|
|
1216
|
+
options: _p?.options,
|
|
1217
|
+
for_identity: _p?.for_identity,
|
|
1218
|
+
missing_ok: _p?.missing_ok
|
|
1219
|
+
}
|
|
1014
1220
|
};
|
|
1015
1221
|
},
|
|
1016
1222
|
variableSetStmt(_p) {
|
|
1017
1223
|
return {
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1224
|
+
VariableSetStmt: {
|
|
1225
|
+
kind: _p?.kind,
|
|
1226
|
+
name: _p?.name,
|
|
1227
|
+
args: _p?.args,
|
|
1228
|
+
is_local: _p?.is_local
|
|
1229
|
+
}
|
|
1022
1230
|
};
|
|
1023
1231
|
},
|
|
1024
1232
|
variableShowStmt(_p) {
|
|
1025
1233
|
return {
|
|
1026
|
-
|
|
1234
|
+
VariableShowStmt: {
|
|
1235
|
+
name: _p?.name
|
|
1236
|
+
}
|
|
1027
1237
|
};
|
|
1028
1238
|
},
|
|
1029
1239
|
discardStmt(_p) {
|
|
1030
1240
|
return {
|
|
1031
|
-
|
|
1241
|
+
DiscardStmt: {
|
|
1242
|
+
target: _p?.target
|
|
1243
|
+
}
|
|
1032
1244
|
};
|
|
1033
1245
|
},
|
|
1034
1246
|
createTrigStmt(_p) {
|
|
1035
1247
|
return {
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1248
|
+
CreateTrigStmt: {
|
|
1249
|
+
trigname: _p?.trigname,
|
|
1250
|
+
relation: _p?.relation,
|
|
1251
|
+
funcname: _p?.funcname,
|
|
1252
|
+
args: _p?.args,
|
|
1253
|
+
row: _p?.row,
|
|
1254
|
+
timing: _p?.timing,
|
|
1255
|
+
events: _p?.events,
|
|
1256
|
+
columns: _p?.columns,
|
|
1257
|
+
whenClause: _p?.whenClause,
|
|
1258
|
+
isconstraint: _p?.isconstraint,
|
|
1259
|
+
transitionRels: _p?.transitionRels,
|
|
1260
|
+
deferrable: _p?.deferrable,
|
|
1261
|
+
initdeferred: _p?.initdeferred,
|
|
1262
|
+
constrrel: _p?.constrrel
|
|
1263
|
+
}
|
|
1050
1264
|
};
|
|
1051
1265
|
},
|
|
1052
1266
|
createpLangStmt(_p) {
|
|
1053
1267
|
return {
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1268
|
+
CreatePLangStmt: {
|
|
1269
|
+
replace: _p?.replace,
|
|
1270
|
+
plname: _p?.plname,
|
|
1271
|
+
plhandler: _p?.plhandler,
|
|
1272
|
+
plinline: _p?.plinline,
|
|
1273
|
+
plvalidator: _p?.plvalidator,
|
|
1274
|
+
pltrusted: _p?.pltrusted
|
|
1275
|
+
}
|
|
1060
1276
|
};
|
|
1061
1277
|
},
|
|
1062
1278
|
createRoleStmt(_p) {
|
|
1063
1279
|
return {
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1280
|
+
CreateRoleStmt: {
|
|
1281
|
+
stmt_type: _p?.stmt_type,
|
|
1282
|
+
role: _p?.role,
|
|
1283
|
+
options: _p?.options
|
|
1284
|
+
}
|
|
1067
1285
|
};
|
|
1068
1286
|
},
|
|
1069
1287
|
alterRoleStmt(_p) {
|
|
1070
1288
|
return {
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1289
|
+
AlterRoleStmt: {
|
|
1290
|
+
role: _p?.role,
|
|
1291
|
+
options: _p?.options,
|
|
1292
|
+
action: _p?.action
|
|
1293
|
+
}
|
|
1074
1294
|
};
|
|
1075
1295
|
},
|
|
1076
1296
|
dropRoleStmt(_p) {
|
|
1077
1297
|
return {
|
|
1078
|
-
|
|
1079
|
-
|
|
1298
|
+
DropRoleStmt: {
|
|
1299
|
+
roles: _p?.roles,
|
|
1300
|
+
missing_ok: _p?.missing_ok
|
|
1301
|
+
}
|
|
1080
1302
|
};
|
|
1081
1303
|
},
|
|
1082
1304
|
lockStmt(_p) {
|
|
1083
1305
|
return {
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1306
|
+
LockStmt: {
|
|
1307
|
+
relations: _p?.relations,
|
|
1308
|
+
mode: _p?.mode,
|
|
1309
|
+
nowait: _p?.nowait
|
|
1310
|
+
}
|
|
1087
1311
|
};
|
|
1088
1312
|
},
|
|
1089
1313
|
constraintsSetStmt(_p) {
|
|
1090
1314
|
return {
|
|
1091
|
-
|
|
1092
|
-
|
|
1315
|
+
ConstraintsSetStmt: {
|
|
1316
|
+
constraints: _p?.constraints,
|
|
1317
|
+
deferred: _p?.deferred
|
|
1318
|
+
}
|
|
1093
1319
|
};
|
|
1094
1320
|
},
|
|
1095
1321
|
reindexStmt(_p) {
|
|
1096
1322
|
return {
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1323
|
+
ReindexStmt: {
|
|
1324
|
+
kind: _p?.kind,
|
|
1325
|
+
relation: _p?.relation,
|
|
1326
|
+
name: _p?.name,
|
|
1327
|
+
options: _p?.options,
|
|
1328
|
+
concurrent: _p?.concurrent
|
|
1329
|
+
}
|
|
1102
1330
|
};
|
|
1103
1331
|
},
|
|
1104
1332
|
checkPointStmt(_p) {
|
|
1105
|
-
return {
|
|
1333
|
+
return {
|
|
1334
|
+
CheckPointStmt: {}
|
|
1335
|
+
};
|
|
1106
1336
|
},
|
|
1107
1337
|
createSchemaStmt(_p) {
|
|
1108
1338
|
return {
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1339
|
+
CreateSchemaStmt: {
|
|
1340
|
+
schemaname: _p?.schemaname,
|
|
1341
|
+
authrole: _p?.authrole,
|
|
1342
|
+
schemaElts: _p?.schemaElts,
|
|
1343
|
+
if_not_exists: _p?.if_not_exists
|
|
1344
|
+
}
|
|
1113
1345
|
};
|
|
1114
1346
|
},
|
|
1115
1347
|
alterDatabaseStmt(_p) {
|
|
1116
1348
|
return {
|
|
1117
|
-
|
|
1118
|
-
|
|
1349
|
+
AlterDatabaseStmt: {
|
|
1350
|
+
dbname: _p?.dbname,
|
|
1351
|
+
options: _p?.options
|
|
1352
|
+
}
|
|
1119
1353
|
};
|
|
1120
1354
|
},
|
|
1121
1355
|
alterDatabaseSetStmt(_p) {
|
|
1122
1356
|
return {
|
|
1123
|
-
|
|
1124
|
-
|
|
1357
|
+
AlterDatabaseSetStmt: {
|
|
1358
|
+
dbname: _p?.dbname,
|
|
1359
|
+
setstmt: _p?.setstmt
|
|
1360
|
+
}
|
|
1125
1361
|
};
|
|
1126
1362
|
},
|
|
1127
1363
|
alterRoleSetStmt(_p) {
|
|
1128
1364
|
return {
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1365
|
+
AlterRoleSetStmt: {
|
|
1366
|
+
role: _p?.role,
|
|
1367
|
+
database: _p?.database,
|
|
1368
|
+
setstmt: _p?.setstmt
|
|
1369
|
+
}
|
|
1132
1370
|
};
|
|
1133
1371
|
},
|
|
1134
1372
|
createConversionStmt(_p) {
|
|
1135
1373
|
return {
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1374
|
+
CreateConversionStmt: {
|
|
1375
|
+
conversion_name: _p?.conversion_name,
|
|
1376
|
+
for_encoding_name: _p?.for_encoding_name,
|
|
1377
|
+
to_encoding_name: _p?.to_encoding_name,
|
|
1378
|
+
func_name: _p?.func_name,
|
|
1379
|
+
def: _p?.def
|
|
1380
|
+
}
|
|
1141
1381
|
};
|
|
1142
1382
|
},
|
|
1143
1383
|
createCastStmt(_p) {
|
|
1144
1384
|
return {
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1385
|
+
CreateCastStmt: {
|
|
1386
|
+
sourcetype: _p?.sourcetype,
|
|
1387
|
+
targettype: _p?.targettype,
|
|
1388
|
+
func: _p?.func,
|
|
1389
|
+
context: _p?.context,
|
|
1390
|
+
inout: _p?.inout
|
|
1391
|
+
}
|
|
1150
1392
|
};
|
|
1151
1393
|
},
|
|
1152
1394
|
createOpClassStmt(_p) {
|
|
1153
1395
|
return {
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1396
|
+
CreateOpClassStmt: {
|
|
1397
|
+
opclassname: _p?.opclassname,
|
|
1398
|
+
opfamilyname: _p?.opfamilyname,
|
|
1399
|
+
amname: _p?.amname,
|
|
1400
|
+
datatype: _p?.datatype,
|
|
1401
|
+
items: _p?.items,
|
|
1402
|
+
isDefault: _p?.isDefault
|
|
1403
|
+
}
|
|
1160
1404
|
};
|
|
1161
1405
|
},
|
|
1162
1406
|
createOpFamilyStmt(_p) {
|
|
1163
1407
|
return {
|
|
1164
|
-
|
|
1165
|
-
|
|
1408
|
+
CreateOpFamilyStmt: {
|
|
1409
|
+
opfamilyname: _p?.opfamilyname,
|
|
1410
|
+
amname: _p?.amname
|
|
1411
|
+
}
|
|
1166
1412
|
};
|
|
1167
1413
|
},
|
|
1168
1414
|
alterOpFamilyStmt(_p) {
|
|
1169
1415
|
return {
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1416
|
+
AlterOpFamilyStmt: {
|
|
1417
|
+
opfamilyname: _p?.opfamilyname,
|
|
1418
|
+
amname: _p?.amname,
|
|
1419
|
+
isDrop: _p?.isDrop,
|
|
1420
|
+
items: _p?.items
|
|
1421
|
+
}
|
|
1174
1422
|
};
|
|
1175
1423
|
},
|
|
1176
1424
|
prepareStmt(_p) {
|
|
1177
1425
|
return {
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1426
|
+
PrepareStmt: {
|
|
1427
|
+
name: _p?.name,
|
|
1428
|
+
argtypes: _p?.argtypes,
|
|
1429
|
+
query: _p?.query
|
|
1430
|
+
}
|
|
1181
1431
|
};
|
|
1182
1432
|
},
|
|
1183
1433
|
executeStmt(_p) {
|
|
1184
1434
|
return {
|
|
1185
|
-
|
|
1186
|
-
|
|
1435
|
+
ExecuteStmt: {
|
|
1436
|
+
name: _p?.name,
|
|
1437
|
+
params: _p?.params
|
|
1438
|
+
}
|
|
1187
1439
|
};
|
|
1188
1440
|
},
|
|
1189
1441
|
deallocateStmt(_p) {
|
|
1190
1442
|
return {
|
|
1191
|
-
|
|
1443
|
+
DeallocateStmt: {
|
|
1444
|
+
name: _p?.name
|
|
1445
|
+
}
|
|
1192
1446
|
};
|
|
1193
1447
|
},
|
|
1194
1448
|
declareCursorStmt(_p) {
|
|
1195
1449
|
return {
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
|
|
1450
|
+
DeclareCursorStmt: {
|
|
1451
|
+
portalname: _p?.portalname,
|
|
1452
|
+
options: _p?.options,
|
|
1453
|
+
query: _p?.query
|
|
1454
|
+
}
|
|
1199
1455
|
};
|
|
1200
1456
|
},
|
|
1201
1457
|
createTableSpaceStmt(_p) {
|
|
1202
1458
|
return {
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1206
|
-
|
|
1459
|
+
CreateTableSpaceStmt: {
|
|
1460
|
+
tablespacename: _p?.tablespacename,
|
|
1461
|
+
owner: _p?.owner,
|
|
1462
|
+
location: _p?.location,
|
|
1463
|
+
options: _p?.options
|
|
1464
|
+
}
|
|
1207
1465
|
};
|
|
1208
1466
|
},
|
|
1209
1467
|
dropTableSpaceStmt(_p) {
|
|
1210
1468
|
return {
|
|
1211
|
-
|
|
1212
|
-
|
|
1469
|
+
DropTableSpaceStmt: {
|
|
1470
|
+
tablespacename: _p?.tablespacename,
|
|
1471
|
+
missing_ok: _p?.missing_ok
|
|
1472
|
+
}
|
|
1213
1473
|
};
|
|
1214
1474
|
},
|
|
1215
1475
|
alterObjectDependsStmt(_p) {
|
|
1216
1476
|
return {
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1477
|
+
AlterObjectDependsStmt: {
|
|
1478
|
+
objectType: _p?.objectType,
|
|
1479
|
+
relation: _p?.relation,
|
|
1480
|
+
object: _p?.object,
|
|
1481
|
+
extname: _p?.extname,
|
|
1482
|
+
remove: _p?.remove
|
|
1483
|
+
}
|
|
1222
1484
|
};
|
|
1223
1485
|
},
|
|
1224
1486
|
alterObjectSchemaStmt(_p) {
|
|
1225
1487
|
return {
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1488
|
+
AlterObjectSchemaStmt: {
|
|
1489
|
+
objectType: _p?.objectType,
|
|
1490
|
+
relation: _p?.relation,
|
|
1491
|
+
object: _p?.object,
|
|
1492
|
+
newschema: _p?.newschema,
|
|
1493
|
+
missing_ok: _p?.missing_ok
|
|
1494
|
+
}
|
|
1231
1495
|
};
|
|
1232
1496
|
},
|
|
1233
1497
|
alterOwnerStmt(_p) {
|
|
1234
1498
|
return {
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1499
|
+
AlterOwnerStmt: {
|
|
1500
|
+
objectType: _p?.objectType,
|
|
1501
|
+
relation: _p?.relation,
|
|
1502
|
+
object: _p?.object,
|
|
1503
|
+
newowner: _p?.newowner
|
|
1504
|
+
}
|
|
1239
1505
|
};
|
|
1240
1506
|
},
|
|
1241
1507
|
alterOperatorStmt(_p) {
|
|
1242
1508
|
return {
|
|
1243
|
-
|
|
1244
|
-
|
|
1509
|
+
AlterOperatorStmt: {
|
|
1510
|
+
opername: _p?.opername,
|
|
1511
|
+
options: _p?.options
|
|
1512
|
+
}
|
|
1245
1513
|
};
|
|
1246
1514
|
},
|
|
1247
1515
|
alterTypeStmt(_p) {
|
|
1248
1516
|
return {
|
|
1249
|
-
|
|
1250
|
-
|
|
1517
|
+
AlterTypeStmt: {
|
|
1518
|
+
typeName: _p?.typeName,
|
|
1519
|
+
options: _p?.options
|
|
1520
|
+
}
|
|
1251
1521
|
};
|
|
1252
1522
|
},
|
|
1253
1523
|
dropOwnedStmt(_p) {
|
|
1254
1524
|
return {
|
|
1255
|
-
|
|
1256
|
-
|
|
1525
|
+
DropOwnedStmt: {
|
|
1526
|
+
roles: _p?.roles,
|
|
1527
|
+
behavior: _p?.behavior
|
|
1528
|
+
}
|
|
1257
1529
|
};
|
|
1258
1530
|
},
|
|
1259
1531
|
reassignOwnedStmt(_p) {
|
|
1260
1532
|
return {
|
|
1261
|
-
|
|
1262
|
-
|
|
1533
|
+
ReassignOwnedStmt: {
|
|
1534
|
+
roles: _p?.roles,
|
|
1535
|
+
newrole: _p?.newrole
|
|
1536
|
+
}
|
|
1263
1537
|
};
|
|
1264
1538
|
},
|
|
1265
1539
|
compositeTypeStmt(_p) {
|
|
1266
1540
|
return {
|
|
1267
|
-
|
|
1268
|
-
|
|
1541
|
+
CompositeTypeStmt: {
|
|
1542
|
+
typevar: _p?.typevar,
|
|
1543
|
+
coldeflist: _p?.coldeflist
|
|
1544
|
+
}
|
|
1269
1545
|
};
|
|
1270
1546
|
},
|
|
1271
1547
|
createEnumStmt(_p) {
|
|
1272
1548
|
return {
|
|
1273
|
-
|
|
1274
|
-
|
|
1549
|
+
CreateEnumStmt: {
|
|
1550
|
+
typeName: _p?.typeName,
|
|
1551
|
+
vals: _p?.vals
|
|
1552
|
+
}
|
|
1275
1553
|
};
|
|
1276
1554
|
},
|
|
1277
1555
|
createRangeStmt(_p) {
|
|
1278
1556
|
return {
|
|
1279
|
-
|
|
1280
|
-
|
|
1557
|
+
CreateRangeStmt: {
|
|
1558
|
+
typeName: _p?.typeName,
|
|
1559
|
+
params: _p?.params
|
|
1560
|
+
}
|
|
1281
1561
|
};
|
|
1282
1562
|
},
|
|
1283
1563
|
alterEnumStmt(_p) {
|
|
1284
1564
|
return {
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1565
|
+
AlterEnumStmt: {
|
|
1566
|
+
typeName: _p?.typeName,
|
|
1567
|
+
oldVal: _p?.oldVal,
|
|
1568
|
+
newVal: _p?.newVal,
|
|
1569
|
+
newValNeighbor: _p?.newValNeighbor,
|
|
1570
|
+
newValIsAfter: _p?.newValIsAfter,
|
|
1571
|
+
skipIfNewValExists: _p?.skipIfNewValExists
|
|
1572
|
+
}
|
|
1291
1573
|
};
|
|
1292
1574
|
},
|
|
1293
1575
|
altertsDictionaryStmt(_p) {
|
|
1294
1576
|
return {
|
|
1295
|
-
|
|
1296
|
-
|
|
1577
|
+
AlterTSDictionaryStmt: {
|
|
1578
|
+
dictname: _p?.dictname,
|
|
1579
|
+
options: _p?.options
|
|
1580
|
+
}
|
|
1297
1581
|
};
|
|
1298
1582
|
},
|
|
1299
1583
|
altertsConfigurationStmt(_p) {
|
|
1300
1584
|
return {
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1585
|
+
AlterTSConfigurationStmt: {
|
|
1586
|
+
kind: _p?.kind,
|
|
1587
|
+
cfgname: _p?.cfgname,
|
|
1588
|
+
tokentype: _p?.tokentype,
|
|
1589
|
+
dicts: _p?.dicts,
|
|
1590
|
+
override: _p?.override,
|
|
1591
|
+
replace: _p?.replace,
|
|
1592
|
+
missing_ok: _p?.missing_ok
|
|
1593
|
+
}
|
|
1308
1594
|
};
|
|
1309
1595
|
},
|
|
1310
1596
|
createFdwStmt(_p) {
|
|
1311
1597
|
return {
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1598
|
+
CreateFdwStmt: {
|
|
1599
|
+
fdwname: _p?.fdwname,
|
|
1600
|
+
func_options: _p?.func_options,
|
|
1601
|
+
options: _p?.options
|
|
1602
|
+
}
|
|
1315
1603
|
};
|
|
1316
1604
|
},
|
|
1317
1605
|
alterFdwStmt(_p) {
|
|
1318
1606
|
return {
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1607
|
+
AlterFdwStmt: {
|
|
1608
|
+
fdwname: _p?.fdwname,
|
|
1609
|
+
func_options: _p?.func_options,
|
|
1610
|
+
options: _p?.options
|
|
1611
|
+
}
|
|
1322
1612
|
};
|
|
1323
1613
|
},
|
|
1324
1614
|
createForeignServerStmt(_p) {
|
|
1325
1615
|
return {
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1616
|
+
CreateForeignServerStmt: {
|
|
1617
|
+
servername: _p?.servername,
|
|
1618
|
+
servertype: _p?.servertype,
|
|
1619
|
+
version: _p?.version,
|
|
1620
|
+
fdwname: _p?.fdwname,
|
|
1621
|
+
if_not_exists: _p?.if_not_exists,
|
|
1622
|
+
options: _p?.options
|
|
1623
|
+
}
|
|
1332
1624
|
};
|
|
1333
1625
|
},
|
|
1334
1626
|
alterForeignServerStmt(_p) {
|
|
1335
1627
|
return {
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1628
|
+
AlterForeignServerStmt: {
|
|
1629
|
+
servername: _p?.servername,
|
|
1630
|
+
version: _p?.version,
|
|
1631
|
+
options: _p?.options,
|
|
1632
|
+
has_version: _p?.has_version
|
|
1633
|
+
}
|
|
1340
1634
|
};
|
|
1341
1635
|
},
|
|
1342
1636
|
createUserMappingStmt(_p) {
|
|
1343
1637
|
return {
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1638
|
+
CreateUserMappingStmt: {
|
|
1639
|
+
user: _p?.user,
|
|
1640
|
+
servername: _p?.servername,
|
|
1641
|
+
if_not_exists: _p?.if_not_exists,
|
|
1642
|
+
options: _p?.options
|
|
1643
|
+
}
|
|
1348
1644
|
};
|
|
1349
1645
|
},
|
|
1350
1646
|
alterUserMappingStmt(_p) {
|
|
1351
1647
|
return {
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1648
|
+
AlterUserMappingStmt: {
|
|
1649
|
+
user: _p?.user,
|
|
1650
|
+
servername: _p?.servername,
|
|
1651
|
+
options: _p?.options
|
|
1652
|
+
}
|
|
1355
1653
|
};
|
|
1356
1654
|
},
|
|
1357
1655
|
dropUserMappingStmt(_p) {
|
|
1358
1656
|
return {
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1657
|
+
DropUserMappingStmt: {
|
|
1658
|
+
user: _p?.user,
|
|
1659
|
+
servername: _p?.servername,
|
|
1660
|
+
missing_ok: _p?.missing_ok
|
|
1661
|
+
}
|
|
1362
1662
|
};
|
|
1363
1663
|
},
|
|
1364
1664
|
alterTableSpaceOptionsStmt(_p) {
|
|
1365
1665
|
return {
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1666
|
+
AlterTableSpaceOptionsStmt: {
|
|
1667
|
+
tablespacename: _p?.tablespacename,
|
|
1668
|
+
options: _p?.options,
|
|
1669
|
+
isReset: _p?.isReset
|
|
1670
|
+
}
|
|
1369
1671
|
};
|
|
1370
1672
|
},
|
|
1371
1673
|
alterTableMoveAllStmt(_p) {
|
|
1372
1674
|
return {
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1675
|
+
AlterTableMoveAllStmt: {
|
|
1676
|
+
orig_tablespacename: _p?.orig_tablespacename,
|
|
1677
|
+
objtype: _p?.objtype,
|
|
1678
|
+
roles: _p?.roles,
|
|
1679
|
+
new_tablespacename: _p?.new_tablespacename,
|
|
1680
|
+
nowait: _p?.nowait
|
|
1681
|
+
}
|
|
1378
1682
|
};
|
|
1379
1683
|
},
|
|
1380
1684
|
secLabelStmt(_p) {
|
|
1381
1685
|
return {
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1686
|
+
SecLabelStmt: {
|
|
1687
|
+
objtype: _p?.objtype,
|
|
1688
|
+
object: _p?.object,
|
|
1689
|
+
provider: _p?.provider,
|
|
1690
|
+
label: _p?.label
|
|
1691
|
+
}
|
|
1386
1692
|
};
|
|
1387
1693
|
},
|
|
1388
1694
|
createForeignTableStmt(_p) {
|
|
1389
1695
|
return {
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1696
|
+
CreateForeignTableStmt: {
|
|
1697
|
+
base: _p?.base,
|
|
1698
|
+
servername: _p?.servername,
|
|
1699
|
+
options: _p?.options
|
|
1700
|
+
}
|
|
1393
1701
|
};
|
|
1394
1702
|
},
|
|
1395
1703
|
importForeignSchemaStmt(_p) {
|
|
1396
1704
|
return {
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1705
|
+
ImportForeignSchemaStmt: {
|
|
1706
|
+
server_name: _p?.server_name,
|
|
1707
|
+
remote_schema: _p?.remote_schema,
|
|
1708
|
+
local_schema: _p?.local_schema,
|
|
1709
|
+
list_type: _p?.list_type,
|
|
1710
|
+
table_list: _p?.table_list,
|
|
1711
|
+
options: _p?.options
|
|
1712
|
+
}
|
|
1403
1713
|
};
|
|
1404
1714
|
},
|
|
1405
1715
|
createExtensionStmt(_p) {
|
|
1406
1716
|
return {
|
|
1407
|
-
|
|
1408
|
-
|
|
1409
|
-
|
|
1717
|
+
CreateExtensionStmt: {
|
|
1718
|
+
extname: _p?.extname,
|
|
1719
|
+
if_not_exists: _p?.if_not_exists,
|
|
1720
|
+
options: _p?.options
|
|
1721
|
+
}
|
|
1410
1722
|
};
|
|
1411
1723
|
},
|
|
1412
1724
|
alterExtensionStmt(_p) {
|
|
1413
1725
|
return {
|
|
1414
|
-
|
|
1415
|
-
|
|
1726
|
+
AlterExtensionStmt: {
|
|
1727
|
+
extname: _p?.extname,
|
|
1728
|
+
options: _p?.options
|
|
1729
|
+
}
|
|
1416
1730
|
};
|
|
1417
1731
|
},
|
|
1418
1732
|
alterExtensionContentsStmt(_p) {
|
|
1419
1733
|
return {
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1423
|
-
|
|
1734
|
+
AlterExtensionContentsStmt: {
|
|
1735
|
+
extname: _p?.extname,
|
|
1736
|
+
action: _p?.action,
|
|
1737
|
+
objtype: _p?.objtype,
|
|
1738
|
+
object: _p?.object
|
|
1739
|
+
}
|
|
1424
1740
|
};
|
|
1425
1741
|
},
|
|
1426
1742
|
createEventTrigStmt(_p) {
|
|
1427
1743
|
return {
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1744
|
+
CreateEventTrigStmt: {
|
|
1745
|
+
trigname: _p?.trigname,
|
|
1746
|
+
eventname: _p?.eventname,
|
|
1747
|
+
whenclause: _p?.whenclause,
|
|
1748
|
+
funcname: _p?.funcname
|
|
1749
|
+
}
|
|
1432
1750
|
};
|
|
1433
1751
|
},
|
|
1434
1752
|
alterEventTrigStmt(_p) {
|
|
1435
1753
|
return {
|
|
1436
|
-
|
|
1437
|
-
|
|
1754
|
+
AlterEventTrigStmt: {
|
|
1755
|
+
trigname: _p?.trigname,
|
|
1756
|
+
tgenabled: _p?.tgenabled
|
|
1757
|
+
}
|
|
1438
1758
|
};
|
|
1439
1759
|
},
|
|
1440
1760
|
refreshMatViewStmt(_p) {
|
|
1441
1761
|
return {
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1762
|
+
RefreshMatViewStmt: {
|
|
1763
|
+
concurrent: _p?.concurrent,
|
|
1764
|
+
skipData: _p?.skipData,
|
|
1765
|
+
relation: _p?.relation
|
|
1766
|
+
}
|
|
1445
1767
|
};
|
|
1446
1768
|
},
|
|
1447
1769
|
replicaIdentityStmt(_p) {
|
|
1448
1770
|
return {
|
|
1449
|
-
|
|
1450
|
-
|
|
1771
|
+
ReplicaIdentityStmt: {
|
|
1772
|
+
identity_type: _p?.identity_type,
|
|
1773
|
+
name: _p?.name
|
|
1774
|
+
}
|
|
1451
1775
|
};
|
|
1452
1776
|
},
|
|
1453
1777
|
alterSystemStmt(_p) {
|
|
1454
1778
|
return {
|
|
1455
|
-
|
|
1779
|
+
AlterSystemStmt: {
|
|
1780
|
+
setstmt: _p?.setstmt
|
|
1781
|
+
}
|
|
1456
1782
|
};
|
|
1457
1783
|
},
|
|
1458
1784
|
createPolicyStmt(_p) {
|
|
1459
1785
|
return {
|
|
1460
|
-
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
|
|
1466
|
-
|
|
1786
|
+
CreatePolicyStmt: {
|
|
1787
|
+
policy_name: _p?.policy_name,
|
|
1788
|
+
table: _p?.table,
|
|
1789
|
+
cmd_name: _p?.cmd_name,
|
|
1790
|
+
permissive: _p?.permissive,
|
|
1791
|
+
roles: _p?.roles,
|
|
1792
|
+
qual: _p?.qual,
|
|
1793
|
+
with_check: _p?.with_check
|
|
1794
|
+
}
|
|
1467
1795
|
};
|
|
1468
1796
|
},
|
|
1469
1797
|
alterPolicyStmt(_p) {
|
|
1470
1798
|
return {
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1799
|
+
AlterPolicyStmt: {
|
|
1800
|
+
policy_name: _p?.policy_name,
|
|
1801
|
+
table: _p?.table,
|
|
1802
|
+
roles: _p?.roles,
|
|
1803
|
+
qual: _p?.qual,
|
|
1804
|
+
with_check: _p?.with_check
|
|
1805
|
+
}
|
|
1476
1806
|
};
|
|
1477
1807
|
},
|
|
1478
1808
|
createTransformStmt(_p) {
|
|
1479
1809
|
return {
|
|
1480
|
-
|
|
1481
|
-
|
|
1482
|
-
|
|
1483
|
-
|
|
1484
|
-
|
|
1810
|
+
CreateTransformStmt: {
|
|
1811
|
+
replace: _p?.replace,
|
|
1812
|
+
type_name: _p?.type_name,
|
|
1813
|
+
lang: _p?.lang,
|
|
1814
|
+
fromsql: _p?.fromsql,
|
|
1815
|
+
tosql: _p?.tosql
|
|
1816
|
+
}
|
|
1485
1817
|
};
|
|
1486
1818
|
},
|
|
1487
1819
|
createAmStmt(_p) {
|
|
1488
1820
|
return {
|
|
1489
|
-
|
|
1490
|
-
|
|
1491
|
-
|
|
1821
|
+
CreateAmStmt: {
|
|
1822
|
+
amname: _p?.amname,
|
|
1823
|
+
handler_name: _p?.handler_name,
|
|
1824
|
+
amtype: _p?.amtype
|
|
1825
|
+
}
|
|
1492
1826
|
};
|
|
1493
1827
|
},
|
|
1494
1828
|
createPublicationStmt(_p) {
|
|
1495
1829
|
return {
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1830
|
+
CreatePublicationStmt: {
|
|
1831
|
+
pubname: _p?.pubname,
|
|
1832
|
+
options: _p?.options,
|
|
1833
|
+
tables: _p?.tables,
|
|
1834
|
+
for_all_tables: _p?.for_all_tables
|
|
1835
|
+
}
|
|
1500
1836
|
};
|
|
1501
1837
|
},
|
|
1502
1838
|
alterPublicationStmt(_p) {
|
|
1503
1839
|
return {
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1840
|
+
AlterPublicationStmt: {
|
|
1841
|
+
pubname: _p?.pubname,
|
|
1842
|
+
options: _p?.options,
|
|
1843
|
+
tables: _p?.tables,
|
|
1844
|
+
for_all_tables: _p?.for_all_tables,
|
|
1845
|
+
tableAction: _p?.tableAction
|
|
1846
|
+
}
|
|
1509
1847
|
};
|
|
1510
1848
|
},
|
|
1511
1849
|
createSubscriptionStmt(_p) {
|
|
1512
1850
|
return {
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1851
|
+
CreateSubscriptionStmt: {
|
|
1852
|
+
subname: _p?.subname,
|
|
1853
|
+
conninfo: _p?.conninfo,
|
|
1854
|
+
publication: _p?.publication,
|
|
1855
|
+
options: _p?.options
|
|
1856
|
+
}
|
|
1517
1857
|
};
|
|
1518
1858
|
},
|
|
1519
1859
|
alterSubscriptionStmt(_p) {
|
|
1520
1860
|
return {
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1861
|
+
AlterSubscriptionStmt: {
|
|
1862
|
+
kind: _p?.kind,
|
|
1863
|
+
subname: _p?.subname,
|
|
1864
|
+
conninfo: _p?.conninfo,
|
|
1865
|
+
publication: _p?.publication,
|
|
1866
|
+
options: _p?.options
|
|
1867
|
+
}
|
|
1526
1868
|
};
|
|
1527
1869
|
},
|
|
1528
1870
|
dropSubscriptionStmt(_p) {
|
|
1529
1871
|
return {
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1872
|
+
DropSubscriptionStmt: {
|
|
1873
|
+
subname: _p?.subname,
|
|
1874
|
+
missing_ok: _p?.missing_ok,
|
|
1875
|
+
behavior: _p?.behavior
|
|
1876
|
+
}
|
|
1533
1877
|
};
|
|
1534
1878
|
},
|
|
1535
1879
|
createStatsStmt(_p) {
|
|
1536
1880
|
return {
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1881
|
+
CreateStatsStmt: {
|
|
1882
|
+
defnames: _p?.defnames,
|
|
1883
|
+
stat_types: _p?.stat_types,
|
|
1884
|
+
exprs: _p?.exprs,
|
|
1885
|
+
relations: _p?.relations,
|
|
1886
|
+
stxcomment: _p?.stxcomment,
|
|
1887
|
+
if_not_exists: _p?.if_not_exists
|
|
1888
|
+
}
|
|
1543
1889
|
};
|
|
1544
1890
|
},
|
|
1545
1891
|
alterCollationStmt(_p) {
|
|
1546
1892
|
return {
|
|
1547
|
-
|
|
1893
|
+
AlterCollationStmt: {
|
|
1894
|
+
collname: _p?.collname
|
|
1895
|
+
}
|
|
1548
1896
|
};
|
|
1549
1897
|
},
|
|
1550
1898
|
callStmt(_p) {
|
|
1551
1899
|
return {
|
|
1552
|
-
|
|
1553
|
-
|
|
1900
|
+
CallStmt: {
|
|
1901
|
+
funccall: _p?.funccall,
|
|
1902
|
+
funcexpr: _p?.funcexpr
|
|
1903
|
+
}
|
|
1554
1904
|
};
|
|
1555
1905
|
},
|
|
1556
1906
|
alterStatsStmt(_p) {
|
|
1557
1907
|
return {
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1908
|
+
AlterStatsStmt: {
|
|
1909
|
+
defnames: _p?.defnames,
|
|
1910
|
+
stxstattarget: _p?.stxstattarget,
|
|
1911
|
+
missing_ok: _p?.missing_ok
|
|
1912
|
+
}
|
|
1561
1913
|
};
|
|
1562
1914
|
},
|
|
1563
1915
|
aExpr(_p) {
|
|
1564
1916
|
return {
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1917
|
+
A_Expr: {
|
|
1918
|
+
kind: _p?.kind,
|
|
1919
|
+
name: _p?.name,
|
|
1920
|
+
lexpr: _p?.lexpr,
|
|
1921
|
+
rexpr: _p?.rexpr,
|
|
1922
|
+
location: _p?.location
|
|
1923
|
+
}
|
|
1570
1924
|
};
|
|
1571
1925
|
},
|
|
1572
1926
|
columnRef(_p) {
|
|
1573
1927
|
return {
|
|
1574
|
-
|
|
1575
|
-
|
|
1928
|
+
ColumnRef: {
|
|
1929
|
+
fields: _p?.fields,
|
|
1930
|
+
location: _p?.location
|
|
1931
|
+
}
|
|
1576
1932
|
};
|
|
1577
1933
|
},
|
|
1578
1934
|
paramRef(_p) {
|
|
1579
1935
|
return {
|
|
1580
|
-
|
|
1581
|
-
|
|
1936
|
+
ParamRef: {
|
|
1937
|
+
number: _p?.number,
|
|
1938
|
+
location: _p?.location
|
|
1939
|
+
}
|
|
1582
1940
|
};
|
|
1583
1941
|
},
|
|
1584
1942
|
aConst(_p) {
|
|
1585
1943
|
return {
|
|
1586
|
-
|
|
1587
|
-
|
|
1944
|
+
A_Const: {
|
|
1945
|
+
val: _p?.val,
|
|
1946
|
+
location: _p?.location
|
|
1947
|
+
}
|
|
1588
1948
|
};
|
|
1589
1949
|
},
|
|
1590
1950
|
funcCall(_p) {
|
|
1591
1951
|
return {
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1952
|
+
FuncCall: {
|
|
1953
|
+
funcname: _p?.funcname,
|
|
1954
|
+
args: _p?.args,
|
|
1955
|
+
agg_order: _p?.agg_order,
|
|
1956
|
+
agg_filter: _p?.agg_filter,
|
|
1957
|
+
agg_within_group: _p?.agg_within_group,
|
|
1958
|
+
agg_star: _p?.agg_star,
|
|
1959
|
+
agg_distinct: _p?.agg_distinct,
|
|
1960
|
+
func_variadic: _p?.func_variadic,
|
|
1961
|
+
over: _p?.over,
|
|
1962
|
+
location: _p?.location
|
|
1963
|
+
}
|
|
1602
1964
|
};
|
|
1603
1965
|
},
|
|
1604
1966
|
aStar(_p) {
|
|
1605
|
-
return {
|
|
1967
|
+
return {
|
|
1968
|
+
A_Star: {}
|
|
1969
|
+
};
|
|
1606
1970
|
},
|
|
1607
1971
|
aIndices(_p) {
|
|
1608
1972
|
return {
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1973
|
+
A_Indices: {
|
|
1974
|
+
is_slice: _p?.is_slice,
|
|
1975
|
+
lidx: _p?.lidx,
|
|
1976
|
+
uidx: _p?.uidx
|
|
1977
|
+
}
|
|
1612
1978
|
};
|
|
1613
1979
|
},
|
|
1614
1980
|
aIndirection(_p) {
|
|
1615
1981
|
return {
|
|
1616
|
-
|
|
1617
|
-
|
|
1982
|
+
A_Indirection: {
|
|
1983
|
+
arg: _p?.arg,
|
|
1984
|
+
indirection: _p?.indirection
|
|
1985
|
+
}
|
|
1618
1986
|
};
|
|
1619
1987
|
},
|
|
1620
1988
|
aArrayExpr(_p) {
|
|
1621
1989
|
return {
|
|
1622
|
-
|
|
1623
|
-
|
|
1990
|
+
A_ArrayExpr: {
|
|
1991
|
+
elements: _p?.elements,
|
|
1992
|
+
location: _p?.location
|
|
1993
|
+
}
|
|
1624
1994
|
};
|
|
1625
1995
|
},
|
|
1626
1996
|
resTarget(_p) {
|
|
1627
1997
|
return {
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1631
|
-
|
|
1998
|
+
ResTarget: {
|
|
1999
|
+
name: _p?.name,
|
|
2000
|
+
indirection: _p?.indirection,
|
|
2001
|
+
val: _p?.val,
|
|
2002
|
+
location: _p?.location
|
|
2003
|
+
}
|
|
1632
2004
|
};
|
|
1633
2005
|
},
|
|
1634
2006
|
multiAssignRef(_p) {
|
|
1635
2007
|
return {
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
2008
|
+
MultiAssignRef: {
|
|
2009
|
+
source: _p?.source,
|
|
2010
|
+
colno: _p?.colno,
|
|
2011
|
+
ncolumns: _p?.ncolumns
|
|
2012
|
+
}
|
|
1639
2013
|
};
|
|
1640
2014
|
},
|
|
1641
2015
|
typeCast(_p) {
|
|
1642
2016
|
return {
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
2017
|
+
TypeCast: {
|
|
2018
|
+
arg: _p?.arg,
|
|
2019
|
+
typeName: _p?.typeName,
|
|
2020
|
+
location: _p?.location
|
|
2021
|
+
}
|
|
1646
2022
|
};
|
|
1647
2023
|
},
|
|
1648
2024
|
collateClause(_p) {
|
|
1649
2025
|
return {
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
2026
|
+
CollateClause: {
|
|
2027
|
+
arg: _p?.arg,
|
|
2028
|
+
collname: _p?.collname,
|
|
2029
|
+
location: _p?.location
|
|
2030
|
+
}
|
|
1653
2031
|
};
|
|
1654
2032
|
},
|
|
1655
2033
|
sortBy(_p) {
|
|
1656
2034
|
return {
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
2035
|
+
SortBy: {
|
|
2036
|
+
node: _p?.node,
|
|
2037
|
+
sortby_dir: _p?.sortby_dir,
|
|
2038
|
+
sortby_nulls: _p?.sortby_nulls,
|
|
2039
|
+
useOp: _p?.useOp,
|
|
2040
|
+
location: _p?.location
|
|
2041
|
+
}
|
|
1662
2042
|
};
|
|
1663
2043
|
},
|
|
1664
2044
|
windowDef(_p) {
|
|
1665
2045
|
return {
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
2046
|
+
WindowDef: {
|
|
2047
|
+
name: _p?.name,
|
|
2048
|
+
refname: _p?.refname,
|
|
2049
|
+
partitionClause: _p?.partitionClause,
|
|
2050
|
+
orderClause: _p?.orderClause,
|
|
2051
|
+
frameOptions: _p?.frameOptions,
|
|
2052
|
+
startOffset: _p?.startOffset,
|
|
2053
|
+
endOffset: _p?.endOffset,
|
|
2054
|
+
location: _p?.location
|
|
2055
|
+
}
|
|
1674
2056
|
};
|
|
1675
2057
|
},
|
|
1676
2058
|
rangeSubselect(_p) {
|
|
1677
2059
|
return {
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
2060
|
+
RangeSubselect: {
|
|
2061
|
+
lateral: _p?.lateral,
|
|
2062
|
+
subquery: _p?.subquery,
|
|
2063
|
+
alias: _p?.alias
|
|
2064
|
+
}
|
|
1681
2065
|
};
|
|
1682
2066
|
},
|
|
1683
2067
|
rangeFunction(_p) {
|
|
1684
2068
|
return {
|
|
1685
|
-
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
2069
|
+
RangeFunction: {
|
|
2070
|
+
lateral: _p?.lateral,
|
|
2071
|
+
ordinality: _p?.ordinality,
|
|
2072
|
+
is_rowsfrom: _p?.is_rowsfrom,
|
|
2073
|
+
functions: _p?.functions,
|
|
2074
|
+
alias: _p?.alias,
|
|
2075
|
+
coldeflist: _p?.coldeflist
|
|
2076
|
+
}
|
|
1691
2077
|
};
|
|
1692
2078
|
},
|
|
1693
2079
|
rangeTableSample(_p) {
|
|
1694
2080
|
return {
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
2081
|
+
RangeTableSample: {
|
|
2082
|
+
relation: _p?.relation,
|
|
2083
|
+
method: _p?.method,
|
|
2084
|
+
args: _p?.args,
|
|
2085
|
+
repeatable: _p?.repeatable,
|
|
2086
|
+
location: _p?.location
|
|
2087
|
+
}
|
|
1700
2088
|
};
|
|
1701
2089
|
},
|
|
1702
2090
|
rangeTableFunc(_p) {
|
|
1703
2091
|
return {
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
2092
|
+
RangeTableFunc: {
|
|
2093
|
+
lateral: _p?.lateral,
|
|
2094
|
+
docexpr: _p?.docexpr,
|
|
2095
|
+
rowexpr: _p?.rowexpr,
|
|
2096
|
+
namespaces: _p?.namespaces,
|
|
2097
|
+
columns: _p?.columns,
|
|
2098
|
+
alias: _p?.alias,
|
|
2099
|
+
location: _p?.location
|
|
2100
|
+
}
|
|
1711
2101
|
};
|
|
1712
2102
|
},
|
|
1713
2103
|
rangeTableFuncCol(_p) {
|
|
1714
2104
|
return {
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
2105
|
+
RangeTableFuncCol: {
|
|
2106
|
+
colname: _p?.colname,
|
|
2107
|
+
typeName: _p?.typeName,
|
|
2108
|
+
for_ordinality: _p?.for_ordinality,
|
|
2109
|
+
is_not_null: _p?.is_not_null,
|
|
2110
|
+
colexpr: _p?.colexpr,
|
|
2111
|
+
coldefexpr: _p?.coldefexpr,
|
|
2112
|
+
location: _p?.location
|
|
2113
|
+
}
|
|
1722
2114
|
};
|
|
1723
2115
|
},
|
|
1724
2116
|
typeName(_p) {
|
|
@@ -1735,360 +2127,428 @@ export default {
|
|
|
1735
2127
|
},
|
|
1736
2128
|
columnDef(_p) {
|
|
1737
2129
|
return {
|
|
1738
|
-
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
2130
|
+
ColumnDef: {
|
|
2131
|
+
colname: _p?.colname,
|
|
2132
|
+
typeName: _p?.typeName,
|
|
2133
|
+
inhcount: _p?.inhcount,
|
|
2134
|
+
is_local: _p?.is_local,
|
|
2135
|
+
is_not_null: _p?.is_not_null,
|
|
2136
|
+
is_from_type: _p?.is_from_type,
|
|
2137
|
+
storage: _p?.storage,
|
|
2138
|
+
raw_default: _p?.raw_default,
|
|
2139
|
+
cooked_default: _p?.cooked_default,
|
|
2140
|
+
identity: _p?.identity,
|
|
2141
|
+
identitySequence: _p?.identitySequence,
|
|
2142
|
+
generated: _p?.generated,
|
|
2143
|
+
collClause: _p?.collClause,
|
|
2144
|
+
collOid: _p?.collOid,
|
|
2145
|
+
constraints: _p?.constraints,
|
|
2146
|
+
fdwoptions: _p?.fdwoptions,
|
|
2147
|
+
location: _p?.location
|
|
2148
|
+
}
|
|
1755
2149
|
};
|
|
1756
2150
|
},
|
|
1757
2151
|
indexElem(_p) {
|
|
1758
2152
|
return {
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
2153
|
+
IndexElem: {
|
|
2154
|
+
name: _p?.name,
|
|
2155
|
+
expr: _p?.expr,
|
|
2156
|
+
indexcolname: _p?.indexcolname,
|
|
2157
|
+
collation: _p?.collation,
|
|
2158
|
+
opclass: _p?.opclass,
|
|
2159
|
+
opclassopts: _p?.opclassopts,
|
|
2160
|
+
ordering: _p?.ordering,
|
|
2161
|
+
nulls_ordering: _p?.nulls_ordering
|
|
2162
|
+
}
|
|
1767
2163
|
};
|
|
1768
2164
|
},
|
|
1769
2165
|
constraint(_p) {
|
|
1770
2166
|
return {
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
2167
|
+
Constraint: {
|
|
2168
|
+
contype: _p?.contype,
|
|
2169
|
+
conname: _p?.conname,
|
|
2170
|
+
deferrable: _p?.deferrable,
|
|
2171
|
+
initdeferred: _p?.initdeferred,
|
|
2172
|
+
location: _p?.location,
|
|
2173
|
+
is_no_inherit: _p?.is_no_inherit,
|
|
2174
|
+
raw_expr: _p?.raw_expr,
|
|
2175
|
+
cooked_expr: _p?.cooked_expr,
|
|
2176
|
+
generated_when: _p?.generated_when,
|
|
2177
|
+
keys: _p?.keys,
|
|
2178
|
+
including: _p?.including,
|
|
2179
|
+
exclusions: _p?.exclusions,
|
|
2180
|
+
options: _p?.options,
|
|
2181
|
+
indexname: _p?.indexname,
|
|
2182
|
+
indexspace: _p?.indexspace,
|
|
2183
|
+
reset_default_tblspc: _p?.reset_default_tblspc,
|
|
2184
|
+
access_method: _p?.access_method,
|
|
2185
|
+
where_clause: _p?.where_clause,
|
|
2186
|
+
pktable: _p?.pktable,
|
|
2187
|
+
fk_attrs: _p?.fk_attrs,
|
|
2188
|
+
pk_attrs: _p?.pk_attrs,
|
|
2189
|
+
fk_matchtype: _p?.fk_matchtype,
|
|
2190
|
+
fk_upd_action: _p?.fk_upd_action,
|
|
2191
|
+
fk_del_action: _p?.fk_del_action,
|
|
2192
|
+
old_conpfeqop: _p?.old_conpfeqop,
|
|
2193
|
+
old_pktable_oid: _p?.old_pktable_oid,
|
|
2194
|
+
skip_validation: _p?.skip_validation,
|
|
2195
|
+
initially_valid: _p?.initially_valid
|
|
2196
|
+
}
|
|
1799
2197
|
};
|
|
1800
2198
|
},
|
|
1801
2199
|
defElem(_p) {
|
|
1802
2200
|
return {
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
2201
|
+
DefElem: {
|
|
2202
|
+
defnamespace: _p?.defnamespace,
|
|
2203
|
+
defname: _p?.defname,
|
|
2204
|
+
arg: _p?.arg,
|
|
2205
|
+
defaction: _p?.defaction,
|
|
2206
|
+
location: _p?.location
|
|
2207
|
+
}
|
|
1808
2208
|
};
|
|
1809
2209
|
},
|
|
1810
2210
|
rangeTblEntry(_p) {
|
|
1811
2211
|
return {
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
2212
|
+
RangeTblEntry: {
|
|
2213
|
+
rtekind: _p?.rtekind,
|
|
2214
|
+
relid: _p?.relid,
|
|
2215
|
+
relkind: _p?.relkind,
|
|
2216
|
+
rellockmode: _p?.rellockmode,
|
|
2217
|
+
tablesample: _p?.tablesample,
|
|
2218
|
+
subquery: _p?.subquery,
|
|
2219
|
+
security_barrier: _p?.security_barrier,
|
|
2220
|
+
jointype: _p?.jointype,
|
|
2221
|
+
joinmergedcols: _p?.joinmergedcols,
|
|
2222
|
+
joinaliasvars: _p?.joinaliasvars,
|
|
2223
|
+
joinleftcols: _p?.joinleftcols,
|
|
2224
|
+
joinrightcols: _p?.joinrightcols,
|
|
2225
|
+
functions: _p?.functions,
|
|
2226
|
+
funcordinality: _p?.funcordinality,
|
|
2227
|
+
tablefunc: _p?.tablefunc,
|
|
2228
|
+
values_lists: _p?.values_lists,
|
|
2229
|
+
ctename: _p?.ctename,
|
|
2230
|
+
ctelevelsup: _p?.ctelevelsup,
|
|
2231
|
+
self_reference: _p?.self_reference,
|
|
2232
|
+
coltypes: _p?.coltypes,
|
|
2233
|
+
coltypmods: _p?.coltypmods,
|
|
2234
|
+
colcollations: _p?.colcollations,
|
|
2235
|
+
enrname: _p?.enrname,
|
|
2236
|
+
enrtuples: _p?.enrtuples,
|
|
2237
|
+
alias: _p?.alias,
|
|
2238
|
+
eref: _p?.eref,
|
|
2239
|
+
lateral: _p?.lateral,
|
|
2240
|
+
inh: _p?.inh,
|
|
2241
|
+
inFromCl: _p?.inFromCl,
|
|
2242
|
+
requiredPerms: _p?.requiredPerms,
|
|
2243
|
+
checkAsUser: _p?.checkAsUser,
|
|
2244
|
+
selectedCols: _p?.selectedCols,
|
|
2245
|
+
insertedCols: _p?.insertedCols,
|
|
2246
|
+
updatedCols: _p?.updatedCols,
|
|
2247
|
+
extraUpdatedCols: _p?.extraUpdatedCols,
|
|
2248
|
+
securityQuals: _p?.securityQuals
|
|
2249
|
+
}
|
|
1848
2250
|
};
|
|
1849
2251
|
},
|
|
1850
2252
|
rangeTblFunction(_p) {
|
|
1851
2253
|
return {
|
|
1852
|
-
|
|
1853
|
-
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
|
-
|
|
1857
|
-
|
|
1858
|
-
|
|
2254
|
+
RangeTblFunction: {
|
|
2255
|
+
funcexpr: _p?.funcexpr,
|
|
2256
|
+
funccolcount: _p?.funccolcount,
|
|
2257
|
+
funccolnames: _p?.funccolnames,
|
|
2258
|
+
funccoltypes: _p?.funccoltypes,
|
|
2259
|
+
funccoltypmods: _p?.funccoltypmods,
|
|
2260
|
+
funccolcollations: _p?.funccolcollations,
|
|
2261
|
+
funcparams: _p?.funcparams
|
|
2262
|
+
}
|
|
1859
2263
|
};
|
|
1860
2264
|
},
|
|
1861
2265
|
tableSampleClause(_p) {
|
|
1862
2266
|
return {
|
|
1863
|
-
|
|
1864
|
-
|
|
1865
|
-
|
|
2267
|
+
TableSampleClause: {
|
|
2268
|
+
tsmhandler: _p?.tsmhandler,
|
|
2269
|
+
args: _p?.args,
|
|
2270
|
+
repeatable: _p?.repeatable
|
|
2271
|
+
}
|
|
1866
2272
|
};
|
|
1867
2273
|
},
|
|
1868
2274
|
withCheckOption(_p) {
|
|
1869
2275
|
return {
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
2276
|
+
WithCheckOption: {
|
|
2277
|
+
kind: _p?.kind,
|
|
2278
|
+
relname: _p?.relname,
|
|
2279
|
+
polname: _p?.polname,
|
|
2280
|
+
qual: _p?.qual,
|
|
2281
|
+
cascaded: _p?.cascaded
|
|
2282
|
+
}
|
|
1875
2283
|
};
|
|
1876
2284
|
},
|
|
1877
2285
|
sortGroupClause(_p) {
|
|
1878
2286
|
return {
|
|
1879
|
-
|
|
1880
|
-
|
|
1881
|
-
|
|
1882
|
-
|
|
1883
|
-
|
|
2287
|
+
SortGroupClause: {
|
|
2288
|
+
tleSortGroupRef: _p?.tleSortGroupRef,
|
|
2289
|
+
eqop: _p?.eqop,
|
|
2290
|
+
sortop: _p?.sortop,
|
|
2291
|
+
nulls_first: _p?.nulls_first,
|
|
2292
|
+
hashable: _p?.hashable
|
|
2293
|
+
}
|
|
1884
2294
|
};
|
|
1885
2295
|
},
|
|
1886
2296
|
groupingSet(_p) {
|
|
1887
2297
|
return {
|
|
1888
|
-
|
|
1889
|
-
|
|
1890
|
-
|
|
2298
|
+
GroupingSet: {
|
|
2299
|
+
kind: _p?.kind,
|
|
2300
|
+
content: _p?.content,
|
|
2301
|
+
location: _p?.location
|
|
2302
|
+
}
|
|
1891
2303
|
};
|
|
1892
2304
|
},
|
|
1893
2305
|
windowClause(_p) {
|
|
1894
2306
|
return {
|
|
1895
|
-
|
|
1896
|
-
|
|
1897
|
-
|
|
1898
|
-
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
2307
|
+
WindowClause: {
|
|
2308
|
+
name: _p?.name,
|
|
2309
|
+
refname: _p?.refname,
|
|
2310
|
+
partitionClause: _p?.partitionClause,
|
|
2311
|
+
orderClause: _p?.orderClause,
|
|
2312
|
+
frameOptions: _p?.frameOptions,
|
|
2313
|
+
startOffset: _p?.startOffset,
|
|
2314
|
+
endOffset: _p?.endOffset,
|
|
2315
|
+
startInRangeFunc: _p?.startInRangeFunc,
|
|
2316
|
+
endInRangeFunc: _p?.endInRangeFunc,
|
|
2317
|
+
inRangeColl: _p?.inRangeColl,
|
|
2318
|
+
inRangeAsc: _p?.inRangeAsc,
|
|
2319
|
+
inRangeNullsFirst: _p?.inRangeNullsFirst,
|
|
2320
|
+
winref: _p?.winref,
|
|
2321
|
+
copiedOrder: _p?.copiedOrder
|
|
2322
|
+
}
|
|
1909
2323
|
};
|
|
1910
2324
|
},
|
|
1911
2325
|
objectWithArgs(_p) {
|
|
1912
2326
|
return {
|
|
1913
|
-
|
|
1914
|
-
|
|
1915
|
-
|
|
2327
|
+
ObjectWithArgs: {
|
|
2328
|
+
objname: _p?.objname,
|
|
2329
|
+
objargs: _p?.objargs,
|
|
2330
|
+
args_unspecified: _p?.args_unspecified
|
|
2331
|
+
}
|
|
1916
2332
|
};
|
|
1917
2333
|
},
|
|
1918
2334
|
accessPriv(_p) {
|
|
1919
2335
|
return {
|
|
1920
|
-
|
|
1921
|
-
|
|
2336
|
+
AccessPriv: {
|
|
2337
|
+
priv_name: _p?.priv_name,
|
|
2338
|
+
cols: _p?.cols
|
|
2339
|
+
}
|
|
1922
2340
|
};
|
|
1923
2341
|
},
|
|
1924
2342
|
createOpClassItem(_p) {
|
|
1925
2343
|
return {
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
2344
|
+
CreateOpClassItem: {
|
|
2345
|
+
itemtype: _p?.itemtype,
|
|
2346
|
+
name: _p?.name,
|
|
2347
|
+
number: _p?.number,
|
|
2348
|
+
order_family: _p?.order_family,
|
|
2349
|
+
class_args: _p?.class_args,
|
|
2350
|
+
storedtype: _p?.storedtype
|
|
2351
|
+
}
|
|
1932
2352
|
};
|
|
1933
2353
|
},
|
|
1934
2354
|
tableLikeClause(_p) {
|
|
1935
2355
|
return {
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
2356
|
+
TableLikeClause: {
|
|
2357
|
+
relation: _p?.relation,
|
|
2358
|
+
options: _p?.options,
|
|
2359
|
+
relationOid: _p?.relationOid
|
|
2360
|
+
}
|
|
1939
2361
|
};
|
|
1940
2362
|
},
|
|
1941
2363
|
functionParameter(_p) {
|
|
1942
2364
|
return {
|
|
1943
|
-
|
|
1944
|
-
|
|
1945
|
-
|
|
1946
|
-
|
|
2365
|
+
FunctionParameter: {
|
|
2366
|
+
name: _p?.name,
|
|
2367
|
+
argType: _p?.argType,
|
|
2368
|
+
mode: _p?.mode,
|
|
2369
|
+
defexpr: _p?.defexpr
|
|
2370
|
+
}
|
|
1947
2371
|
};
|
|
1948
2372
|
},
|
|
1949
2373
|
lockingClause(_p) {
|
|
1950
2374
|
return {
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
2375
|
+
LockingClause: {
|
|
2376
|
+
lockedRels: _p?.lockedRels,
|
|
2377
|
+
strength: _p?.strength,
|
|
2378
|
+
waitPolicy: _p?.waitPolicy
|
|
2379
|
+
}
|
|
1954
2380
|
};
|
|
1955
2381
|
},
|
|
1956
2382
|
rowMarkClause(_p) {
|
|
1957
2383
|
return {
|
|
1958
|
-
|
|
1959
|
-
|
|
1960
|
-
|
|
1961
|
-
|
|
2384
|
+
RowMarkClause: {
|
|
2385
|
+
rti: _p?.rti,
|
|
2386
|
+
strength: _p?.strength,
|
|
2387
|
+
waitPolicy: _p?.waitPolicy,
|
|
2388
|
+
pushedDown: _p?.pushedDown
|
|
2389
|
+
}
|
|
1962
2390
|
};
|
|
1963
2391
|
},
|
|
1964
2392
|
xmlSerialize(_p) {
|
|
1965
2393
|
return {
|
|
1966
|
-
|
|
1967
|
-
|
|
1968
|
-
|
|
1969
|
-
|
|
2394
|
+
XmlSerialize: {
|
|
2395
|
+
xmloption: _p?.xmloption,
|
|
2396
|
+
expr: _p?.expr,
|
|
2397
|
+
typeName: _p?.typeName,
|
|
2398
|
+
location: _p?.location
|
|
2399
|
+
}
|
|
1970
2400
|
};
|
|
1971
2401
|
},
|
|
1972
2402
|
withClause(_p) {
|
|
1973
2403
|
return {
|
|
1974
|
-
|
|
1975
|
-
|
|
1976
|
-
|
|
2404
|
+
WithClause: {
|
|
2405
|
+
ctes: _p?.ctes,
|
|
2406
|
+
recursive: _p?.recursive,
|
|
2407
|
+
location: _p?.location
|
|
2408
|
+
}
|
|
1977
2409
|
};
|
|
1978
2410
|
},
|
|
1979
2411
|
inferClause(_p) {
|
|
1980
2412
|
return {
|
|
1981
|
-
|
|
1982
|
-
|
|
1983
|
-
|
|
1984
|
-
|
|
2413
|
+
InferClause: {
|
|
2414
|
+
indexElems: _p?.indexElems,
|
|
2415
|
+
whereClause: _p?.whereClause,
|
|
2416
|
+
conname: _p?.conname,
|
|
2417
|
+
location: _p?.location
|
|
2418
|
+
}
|
|
1985
2419
|
};
|
|
1986
2420
|
},
|
|
1987
2421
|
onConflictClause(_p) {
|
|
1988
2422
|
return {
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
|
|
1992
|
-
|
|
1993
|
-
|
|
2423
|
+
OnConflictClause: {
|
|
2424
|
+
action: _p?.action,
|
|
2425
|
+
infer: _p?.infer,
|
|
2426
|
+
targetList: _p?.targetList,
|
|
2427
|
+
whereClause: _p?.whereClause,
|
|
2428
|
+
location: _p?.location
|
|
2429
|
+
}
|
|
1994
2430
|
};
|
|
1995
2431
|
},
|
|
1996
2432
|
commonTableExpr(_p) {
|
|
1997
2433
|
return {
|
|
1998
|
-
|
|
1999
|
-
|
|
2000
|
-
|
|
2001
|
-
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2008
|
-
|
|
2434
|
+
CommonTableExpr: {
|
|
2435
|
+
ctename: _p?.ctename,
|
|
2436
|
+
aliascolnames: _p?.aliascolnames,
|
|
2437
|
+
ctematerialized: _p?.ctematerialized,
|
|
2438
|
+
ctequery: _p?.ctequery,
|
|
2439
|
+
location: _p?.location,
|
|
2440
|
+
cterecursive: _p?.cterecursive,
|
|
2441
|
+
cterefcount: _p?.cterefcount,
|
|
2442
|
+
ctecolnames: _p?.ctecolnames,
|
|
2443
|
+
ctecoltypes: _p?.ctecoltypes,
|
|
2444
|
+
ctecoltypmods: _p?.ctecoltypmods,
|
|
2445
|
+
ctecolcollations: _p?.ctecolcollations
|
|
2446
|
+
}
|
|
2009
2447
|
};
|
|
2010
2448
|
},
|
|
2011
2449
|
roleSpec(_p) {
|
|
2012
2450
|
return {
|
|
2013
|
-
|
|
2014
|
-
|
|
2015
|
-
|
|
2451
|
+
RoleSpec: {
|
|
2452
|
+
roletype: _p?.roletype,
|
|
2453
|
+
rolename: _p?.rolename,
|
|
2454
|
+
location: _p?.location
|
|
2455
|
+
}
|
|
2016
2456
|
};
|
|
2017
2457
|
},
|
|
2018
2458
|
triggerTransition(_p) {
|
|
2019
2459
|
return {
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2460
|
+
TriggerTransition: {
|
|
2461
|
+
name: _p?.name,
|
|
2462
|
+
isNew: _p?.isNew,
|
|
2463
|
+
isTable: _p?.isTable
|
|
2464
|
+
}
|
|
2023
2465
|
};
|
|
2024
2466
|
},
|
|
2025
2467
|
partitionElem(_p) {
|
|
2026
2468
|
return {
|
|
2027
|
-
|
|
2028
|
-
|
|
2029
|
-
|
|
2030
|
-
|
|
2031
|
-
|
|
2469
|
+
PartitionElem: {
|
|
2470
|
+
name: _p?.name,
|
|
2471
|
+
expr: _p?.expr,
|
|
2472
|
+
collation: _p?.collation,
|
|
2473
|
+
opclass: _p?.opclass,
|
|
2474
|
+
location: _p?.location
|
|
2475
|
+
}
|
|
2032
2476
|
};
|
|
2033
2477
|
},
|
|
2034
2478
|
partitionSpec(_p) {
|
|
2035
2479
|
return {
|
|
2036
|
-
|
|
2037
|
-
|
|
2038
|
-
|
|
2480
|
+
PartitionSpec: {
|
|
2481
|
+
strategy: _p?.strategy,
|
|
2482
|
+
partParams: _p?.partParams,
|
|
2483
|
+
location: _p?.location
|
|
2484
|
+
}
|
|
2039
2485
|
};
|
|
2040
2486
|
},
|
|
2041
2487
|
partitionBoundSpec(_p) {
|
|
2042
2488
|
return {
|
|
2043
|
-
|
|
2044
|
-
|
|
2045
|
-
|
|
2046
|
-
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2050
|
-
|
|
2489
|
+
PartitionBoundSpec: {
|
|
2490
|
+
strategy: _p?.strategy,
|
|
2491
|
+
is_default: _p?.is_default,
|
|
2492
|
+
modulus: _p?.modulus,
|
|
2493
|
+
remainder: _p?.remainder,
|
|
2494
|
+
listdatums: _p?.listdatums,
|
|
2495
|
+
lowerdatums: _p?.lowerdatums,
|
|
2496
|
+
upperdatums: _p?.upperdatums,
|
|
2497
|
+
location: _p?.location
|
|
2498
|
+
}
|
|
2051
2499
|
};
|
|
2052
2500
|
},
|
|
2053
2501
|
partitionRangeDatum(_p) {
|
|
2054
2502
|
return {
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2503
|
+
PartitionRangeDatum: {
|
|
2504
|
+
kind: _p?.kind,
|
|
2505
|
+
value: _p?.value,
|
|
2506
|
+
location: _p?.location
|
|
2507
|
+
}
|
|
2058
2508
|
};
|
|
2059
2509
|
},
|
|
2060
2510
|
partitionCmd(_p) {
|
|
2061
2511
|
return {
|
|
2062
|
-
|
|
2063
|
-
|
|
2512
|
+
PartitionCmd: {
|
|
2513
|
+
name: _p?.name,
|
|
2514
|
+
bound: _p?.bound
|
|
2515
|
+
}
|
|
2064
2516
|
};
|
|
2065
2517
|
},
|
|
2066
2518
|
vacuumRelation(_p) {
|
|
2067
2519
|
return {
|
|
2068
|
-
|
|
2069
|
-
|
|
2070
|
-
|
|
2520
|
+
VacuumRelation: {
|
|
2521
|
+
relation: _p?.relation,
|
|
2522
|
+
oid: _p?.oid,
|
|
2523
|
+
va_cols: _p?.va_cols
|
|
2524
|
+
}
|
|
2071
2525
|
};
|
|
2072
2526
|
},
|
|
2073
2527
|
inlineCodeBlock(_p) {
|
|
2074
2528
|
return {
|
|
2075
|
-
|
|
2076
|
-
|
|
2077
|
-
|
|
2078
|
-
|
|
2529
|
+
InlineCodeBlock: {
|
|
2530
|
+
source_text: _p?.source_text,
|
|
2531
|
+
langOid: _p?.langOid,
|
|
2532
|
+
langIsTrusted: _p?.langIsTrusted,
|
|
2533
|
+
atomic: _p?.atomic
|
|
2534
|
+
}
|
|
2079
2535
|
};
|
|
2080
2536
|
},
|
|
2081
2537
|
callContext(_p) {
|
|
2082
2538
|
return {
|
|
2083
|
-
|
|
2539
|
+
CallContext: {
|
|
2540
|
+
atomic: _p?.atomic
|
|
2541
|
+
}
|
|
2084
2542
|
};
|
|
2085
2543
|
},
|
|
2086
2544
|
scanToken(_p) {
|
|
2087
2545
|
return {
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
|
|
2091
|
-
|
|
2546
|
+
ScanToken: {
|
|
2547
|
+
start: _p?.start,
|
|
2548
|
+
end: _p?.end,
|
|
2549
|
+
token: _p?.token,
|
|
2550
|
+
keywordKind: _p?.keywordKind
|
|
2551
|
+
}
|
|
2092
2552
|
};
|
|
2093
2553
|
}
|
|
2094
2554
|
};
|