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