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