@pgsql/utils 13.6.0 → 13.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/src/asts.ts CHANGED
@@ -1,14 +1,11 @@
1
1
  /**
2
- * This file was automatically generated by pg-proto-parser@1.12.0.
2
+ * This file was automatically generated by pg-proto-parser@1.12.2.
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 { ParseResult, ScanResult, Node, Integer, Float, String, BitString, Null, List, OidList, IntList, Alias, RangeVar, TableFunc, Expr, Var, Param, Aggref, GroupingFunc, WindowFunc, SubscriptingRef, FuncExpr, NamedArgExpr, OpExpr, DistinctExpr, NullIfExpr, ScalarArrayOpExpr, BoolExpr, SubLink, SubPlan, AlternativeSubPlan, FieldSelect, FieldStore, RelabelType, CoerceViaIO, ArrayCoerceExpr, ConvertRowtypeExpr, CollateExpr, CaseExpr, CaseWhen, CaseTestExpr, ArrayExpr, RowExpr, RowCompareExpr, CoalesceExpr, MinMaxExpr, SQLValueFunction, XmlExpr, NullTest, BooleanTest, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, IntoClause, RawStmt, Query, InsertStmt, DeleteStmt, UpdateStmt, SelectStmt, AlterTableStmt, AlterTableCmd, AlterDomainStmt, SetOperationStmt, GrantStmt, GrantRoleStmt, AlterDefaultPrivilegesStmt, ClosePortalStmt, ClusterStmt, CopyStmt, CreateStmt, DefineStmt, DropStmt, TruncateStmt, CommentStmt, FetchStmt, IndexStmt, CreateFunctionStmt, AlterFunctionStmt, DoStmt, RenameStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, ViewStmt, LoadStmt, CreateDomainStmt, CreatedbStmt, DropdbStmt, VacuumStmt, ExplainStmt, CreateTableAsStmt, CreateSeqStmt, AlterSeqStmt, VariableSetStmt, VariableShowStmt, DiscardStmt, CreateTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, DropRoleStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CheckPointStmt, CreateSchemaStmt, AlterDatabaseStmt, AlterDatabaseSetStmt, AlterRoleSetStmt, CreateConversionStmt, CreateCastStmt, CreateOpClassStmt, CreateOpFamilyStmt, AlterOpFamilyStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DeclareCursorStmt, CreateTableSpaceStmt, DropTableSpaceStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, DropOwnedStmt, ReassignOwnedStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, SecLabelStmt, CreateForeignTableStmt, ImportForeignSchemaStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateEventTrigStmt, AlterEventTrigStmt, RefreshMatViewStmt, ReplicaIdentityStmt, AlterSystemStmt, CreatePolicyStmt, AlterPolicyStmt, CreateTransformStmt, CreateAmStmt, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, CreateStatsStmt, AlterCollationStmt, CallStmt, AlterStatsStmt, A_Expr, ColumnRef, ParamRef, A_Const, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, TypeCast, CollateClause, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableSample, RangeTableFunc, RangeTableFuncCol, TypeName, ColumnDef, IndexElem, Constraint, DefElem, RangeTblEntry, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, ObjectWithArgs, AccessPriv, CreateOpClassItem, TableLikeClause, FunctionParameter, LockingClause, RowMarkClause, XmlSerialize, WithClause, InferClause, OnConflictClause, CommonTableExpr, RoleSpec, TriggerTransition, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, PartitionCmd, VacuumRelation, InlineCodeBlock, CallContext, ScanToken } from "@pgsql/types";
7
- export type ASTType<T> = { [K in keyof T as `${K & string}`]: T };
6
+ import { ParseResult, ScanResult, Node, Integer, Float, String, BitString, Null, List, OidList, IntList, Alias, RangeVar, TableFunc, Expr, Var, Param, Aggref, GroupingFunc, WindowFunc, SubscriptingRef, FuncExpr, NamedArgExpr, OpExpr, DistinctExpr, NullIfExpr, ScalarArrayOpExpr, BoolExpr, SubLink, SubPlan, AlternativeSubPlan, FieldSelect, FieldStore, RelabelType, CoerceViaIO, ArrayCoerceExpr, ConvertRowtypeExpr, CollateExpr, CaseExpr, CaseWhen, CaseTestExpr, ArrayExpr, RowExpr, RowCompareExpr, CoalesceExpr, MinMaxExpr, SQLValueFunction, XmlExpr, NullTest, BooleanTest, CoerceToDomain, CoerceToDomainValue, SetToDefault, CurrentOfExpr, NextValueExpr, InferenceElem, TargetEntry, RangeTblRef, JoinExpr, FromExpr, OnConflictExpr, IntoClause, RawStmt, Query, InsertStmt, DeleteStmt, UpdateStmt, SelectStmt, AlterTableStmt, AlterTableCmd, AlterDomainStmt, SetOperationStmt, GrantStmt, GrantRoleStmt, AlterDefaultPrivilegesStmt, ClosePortalStmt, ClusterStmt, CopyStmt, CreateStmt, DefineStmt, DropStmt, TruncateStmt, CommentStmt, FetchStmt, IndexStmt, CreateFunctionStmt, AlterFunctionStmt, DoStmt, RenameStmt, RuleStmt, NotifyStmt, ListenStmt, UnlistenStmt, TransactionStmt, ViewStmt, LoadStmt, CreateDomainStmt, CreatedbStmt, DropdbStmt, VacuumStmt, ExplainStmt, CreateTableAsStmt, CreateSeqStmt, AlterSeqStmt, VariableSetStmt, VariableShowStmt, DiscardStmt, CreateTrigStmt, CreatePLangStmt, CreateRoleStmt, AlterRoleStmt, DropRoleStmt, LockStmt, ConstraintsSetStmt, ReindexStmt, CheckPointStmt, CreateSchemaStmt, AlterDatabaseStmt, AlterDatabaseSetStmt, AlterRoleSetStmt, CreateConversionStmt, CreateCastStmt, CreateOpClassStmt, CreateOpFamilyStmt, AlterOpFamilyStmt, PrepareStmt, ExecuteStmt, DeallocateStmt, DeclareCursorStmt, CreateTableSpaceStmt, DropTableSpaceStmt, AlterObjectDependsStmt, AlterObjectSchemaStmt, AlterOwnerStmt, AlterOperatorStmt, AlterTypeStmt, DropOwnedStmt, ReassignOwnedStmt, CompositeTypeStmt, CreateEnumStmt, CreateRangeStmt, AlterEnumStmt, AlterTSDictionaryStmt, AlterTSConfigurationStmt, CreateFdwStmt, AlterFdwStmt, CreateForeignServerStmt, AlterForeignServerStmt, CreateUserMappingStmt, AlterUserMappingStmt, DropUserMappingStmt, AlterTableSpaceOptionsStmt, AlterTableMoveAllStmt, SecLabelStmt, CreateForeignTableStmt, ImportForeignSchemaStmt, CreateExtensionStmt, AlterExtensionStmt, AlterExtensionContentsStmt, CreateEventTrigStmt, AlterEventTrigStmt, RefreshMatViewStmt, ReplicaIdentityStmt, AlterSystemStmt, CreatePolicyStmt, AlterPolicyStmt, CreateTransformStmt, CreateAmStmt, CreatePublicationStmt, AlterPublicationStmt, CreateSubscriptionStmt, AlterSubscriptionStmt, DropSubscriptionStmt, CreateStatsStmt, AlterCollationStmt, CallStmt, AlterStatsStmt, A_Expr, ColumnRef, ParamRef, A_Const, FuncCall, A_Star, A_Indices, A_Indirection, A_ArrayExpr, ResTarget, MultiAssignRef, TypeCast, CollateClause, SortBy, WindowDef, RangeSubselect, RangeFunction, RangeTableSample, RangeTableFunc, RangeTableFuncCol, TypeName, ColumnDef, IndexElem, Constraint, DefElem, RangeTblEntry, RangeTblFunction, TableSampleClause, WithCheckOption, SortGroupClause, GroupingSet, WindowClause, ObjectWithArgs, AccessPriv, CreateOpClassItem, TableLikeClause, FunctionParameter, LockingClause, RowMarkClause, XmlSerialize, WithClause, InferClause, OnConflictClause, CommonTableExpr, RoleSpec, TriggerTransition, PartitionElem, PartitionSpec, PartitionBoundSpec, PartitionRangeDatum, PartitionCmd, VacuumRelation, InlineCodeBlock, CallContext, ScanToken } from "@pgsql/types/types/wrapped";
8
7
  export default {
9
- parseResult(_p?: ParseResult): {
10
- ParseResult: ParseResult;
11
- } {
8
+ parseResult(_p?: ParseResult["ParseResult"]): ParseResult {
12
9
  return {
13
10
  ParseResult: {
14
11
  version: _p?.version,
@@ -16,9 +13,7 @@ export default {
16
13
  }
17
14
  };
18
15
  },
19
- scanResult(_p?: ScanResult): {
20
- ScanResult: ScanResult;
21
- } {
16
+ scanResult(_p?: ScanResult["ScanResult"]): ScanResult {
22
17
  return {
23
18
  ScanResult: {
24
19
  version: _p?.version,
@@ -26,79 +21,61 @@ export default {
26
21
  }
27
22
  };
28
23
  },
29
- integer(_p?: Integer): {
30
- Integer: Integer;
31
- } {
24
+ integer(_p?: Integer["Integer"]): Integer {
32
25
  return {
33
26
  Integer: {
34
27
  ival: _p?.ival
35
28
  }
36
29
  };
37
30
  },
38
- float(_p?: Float): {
39
- Float: Float;
40
- } {
31
+ float(_p?: Float["Float"]): Float {
41
32
  return {
42
33
  Float: {
43
34
  str: _p?.str
44
35
  }
45
36
  };
46
37
  },
47
- string(_p?: String): {
48
- String: String;
49
- } {
38
+ string(_p?: String["String"]): String {
50
39
  return {
51
40
  String: {
52
41
  str: _p?.str
53
42
  }
54
43
  };
55
44
  },
56
- bitString(_p?: BitString): {
57
- BitString: BitString;
58
- } {
45
+ bitString(_p?: BitString["BitString"]): BitString {
59
46
  return {
60
47
  BitString: {
61
48
  str: _p?.str
62
49
  }
63
50
  };
64
51
  },
65
- null(_p?: Null): {
66
- Null: Null;
67
- } {
52
+ null(_p?: Null["Null"]): Null {
68
53
  return {
69
54
  Null: {}
70
55
  };
71
56
  },
72
- list(_p?: List): {
73
- List: List;
74
- } {
57
+ list(_p?: List["List"]): List {
75
58
  return {
76
59
  List: {
77
60
  items: _p?.items
78
61
  }
79
62
  };
80
63
  },
81
- oidList(_p?: OidList): {
82
- OidList: OidList;
83
- } {
64
+ oidList(_p?: OidList["OidList"]): OidList {
84
65
  return {
85
66
  OidList: {
86
67
  items: _p?.items
87
68
  }
88
69
  };
89
70
  },
90
- intList(_p?: IntList): {
91
- IntList: IntList;
92
- } {
71
+ intList(_p?: IntList["IntList"]): IntList {
93
72
  return {
94
73
  IntList: {
95
74
  items: _p?.items
96
75
  }
97
76
  };
98
77
  },
99
- alias(_p?: Alias): {
100
- Alias: Alias;
101
- } {
78
+ alias(_p?: Alias["Alias"]): Alias {
102
79
  return {
103
80
  Alias: {
104
81
  aliasname: _p?.aliasname,
@@ -106,9 +83,7 @@ export default {
106
83
  }
107
84
  };
108
85
  },
109
- rangeVar(_p?: RangeVar): {
110
- RangeVar: RangeVar;
111
- } {
86
+ rangeVar(_p?: RangeVar["RangeVar"]): RangeVar {
112
87
  return {
113
88
  RangeVar: {
114
89
  catalogname: _p?.catalogname,
@@ -121,9 +96,7 @@ export default {
121
96
  }
122
97
  };
123
98
  },
124
- tableFunc(_p?: TableFunc): {
125
- TableFunc: TableFunc;
126
- } {
99
+ tableFunc(_p?: TableFunc["TableFunc"]): TableFunc {
127
100
  return {
128
101
  TableFunc: {
129
102
  ns_uris: _p?.ns_uris,
@@ -142,16 +115,12 @@ export default {
142
115
  }
143
116
  };
144
117
  },
145
- expr(_p?: Expr): {
146
- Expr: Expr;
147
- } {
118
+ expr(_p?: Expr["Expr"]): Expr {
148
119
  return {
149
120
  Expr: {}
150
121
  };
151
122
  },
152
- var(_p?: Var): {
153
- Var: Var;
154
- } {
123
+ var(_p?: Var["Var"]): Var {
155
124
  return {
156
125
  Var: {
157
126
  xpr: _p?.xpr,
@@ -167,9 +136,7 @@ export default {
167
136
  }
168
137
  };
169
138
  },
170
- param(_p?: Param): {
171
- Param: Param;
172
- } {
139
+ param(_p?: Param["Param"]): Param {
173
140
  return {
174
141
  Param: {
175
142
  xpr: _p?.xpr,
@@ -182,9 +149,7 @@ export default {
182
149
  }
183
150
  };
184
151
  },
185
- aggref(_p?: Aggref): {
186
- Aggref: Aggref;
187
- } {
152
+ aggref(_p?: Aggref["Aggref"]): Aggref {
188
153
  return {
189
154
  Aggref: {
190
155
  xpr: _p?.xpr,
@@ -208,9 +173,7 @@ export default {
208
173
  }
209
174
  };
210
175
  },
211
- groupingFunc(_p?: GroupingFunc): {
212
- GroupingFunc: GroupingFunc;
213
- } {
176
+ groupingFunc(_p?: GroupingFunc["GroupingFunc"]): GroupingFunc {
214
177
  return {
215
178
  GroupingFunc: {
216
179
  xpr: _p?.xpr,
@@ -222,9 +185,7 @@ export default {
222
185
  }
223
186
  };
224
187
  },
225
- windowFunc(_p?: WindowFunc): {
226
- WindowFunc: WindowFunc;
227
- } {
188
+ windowFunc(_p?: WindowFunc["WindowFunc"]): WindowFunc {
228
189
  return {
229
190
  WindowFunc: {
230
191
  xpr: _p?.xpr,
@@ -241,9 +202,7 @@ export default {
241
202
  }
242
203
  };
243
204
  },
244
- subscriptingRef(_p?: SubscriptingRef): {
245
- SubscriptingRef: SubscriptingRef;
246
- } {
205
+ subscriptingRef(_p?: SubscriptingRef["SubscriptingRef"]): SubscriptingRef {
247
206
  return {
248
207
  SubscriptingRef: {
249
208
  xpr: _p?.xpr,
@@ -258,9 +217,7 @@ export default {
258
217
  }
259
218
  };
260
219
  },
261
- funcExpr(_p?: FuncExpr): {
262
- FuncExpr: FuncExpr;
263
- } {
220
+ funcExpr(_p?: FuncExpr["FuncExpr"]): FuncExpr {
264
221
  return {
265
222
  FuncExpr: {
266
223
  xpr: _p?.xpr,
@@ -276,9 +233,7 @@ export default {
276
233
  }
277
234
  };
278
235
  },
279
- namedArgExpr(_p?: NamedArgExpr): {
280
- NamedArgExpr: NamedArgExpr;
281
- } {
236
+ namedArgExpr(_p?: NamedArgExpr["NamedArgExpr"]): NamedArgExpr {
282
237
  return {
283
238
  NamedArgExpr: {
284
239
  xpr: _p?.xpr,
@@ -289,9 +244,7 @@ export default {
289
244
  }
290
245
  };
291
246
  },
292
- opExpr(_p?: OpExpr): {
293
- OpExpr: OpExpr;
294
- } {
247
+ opExpr(_p?: OpExpr["OpExpr"]): OpExpr {
295
248
  return {
296
249
  OpExpr: {
297
250
  xpr: _p?.xpr,
@@ -306,9 +259,7 @@ export default {
306
259
  }
307
260
  };
308
261
  },
309
- distinctExpr(_p?: DistinctExpr): {
310
- DistinctExpr: DistinctExpr;
311
- } {
262
+ distinctExpr(_p?: DistinctExpr["DistinctExpr"]): DistinctExpr {
312
263
  return {
313
264
  DistinctExpr: {
314
265
  xpr: _p?.xpr,
@@ -323,9 +274,7 @@ export default {
323
274
  }
324
275
  };
325
276
  },
326
- nullIfExpr(_p?: NullIfExpr): {
327
- NullIfExpr: NullIfExpr;
328
- } {
277
+ nullIfExpr(_p?: NullIfExpr["NullIfExpr"]): NullIfExpr {
329
278
  return {
330
279
  NullIfExpr: {
331
280
  xpr: _p?.xpr,
@@ -340,9 +289,7 @@ export default {
340
289
  }
341
290
  };
342
291
  },
343
- scalarArrayOpExpr(_p?: ScalarArrayOpExpr): {
344
- ScalarArrayOpExpr: ScalarArrayOpExpr;
345
- } {
292
+ scalarArrayOpExpr(_p?: ScalarArrayOpExpr["ScalarArrayOpExpr"]): ScalarArrayOpExpr {
346
293
  return {
347
294
  ScalarArrayOpExpr: {
348
295
  xpr: _p?.xpr,
@@ -355,9 +302,7 @@ export default {
355
302
  }
356
303
  };
357
304
  },
358
- boolExpr(_p?: BoolExpr): {
359
- BoolExpr: BoolExpr;
360
- } {
305
+ boolExpr(_p?: BoolExpr["BoolExpr"]): BoolExpr {
361
306
  return {
362
307
  BoolExpr: {
363
308
  xpr: _p?.xpr,
@@ -367,9 +312,7 @@ export default {
367
312
  }
368
313
  };
369
314
  },
370
- subLink(_p?: SubLink): {
371
- SubLink: SubLink;
372
- } {
315
+ subLink(_p?: SubLink["SubLink"]): SubLink {
373
316
  return {
374
317
  SubLink: {
375
318
  xpr: _p?.xpr,
@@ -382,9 +325,7 @@ export default {
382
325
  }
383
326
  };
384
327
  },
385
- subPlan(_p?: SubPlan): {
386
- SubPlan: SubPlan;
387
- } {
328
+ subPlan(_p?: SubPlan["SubPlan"]): SubPlan {
388
329
  return {
389
330
  SubPlan: {
390
331
  xpr: _p?.xpr,
@@ -407,9 +348,7 @@ export default {
407
348
  }
408
349
  };
409
350
  },
410
- alternativeSubPlan(_p?: AlternativeSubPlan): {
411
- AlternativeSubPlan: AlternativeSubPlan;
412
- } {
351
+ alternativeSubPlan(_p?: AlternativeSubPlan["AlternativeSubPlan"]): AlternativeSubPlan {
413
352
  return {
414
353
  AlternativeSubPlan: {
415
354
  xpr: _p?.xpr,
@@ -417,9 +356,7 @@ export default {
417
356
  }
418
357
  };
419
358
  },
420
- fieldSelect(_p?: FieldSelect): {
421
- FieldSelect: FieldSelect;
422
- } {
359
+ fieldSelect(_p?: FieldSelect["FieldSelect"]): FieldSelect {
423
360
  return {
424
361
  FieldSelect: {
425
362
  xpr: _p?.xpr,
@@ -431,9 +368,7 @@ export default {
431
368
  }
432
369
  };
433
370
  },
434
- fieldStore(_p?: FieldStore): {
435
- FieldStore: FieldStore;
436
- } {
371
+ fieldStore(_p?: FieldStore["FieldStore"]): FieldStore {
437
372
  return {
438
373
  FieldStore: {
439
374
  xpr: _p?.xpr,
@@ -444,9 +379,7 @@ export default {
444
379
  }
445
380
  };
446
381
  },
447
- relabelType(_p?: RelabelType): {
448
- RelabelType: RelabelType;
449
- } {
382
+ relabelType(_p?: RelabelType["RelabelType"]): RelabelType {
450
383
  return {
451
384
  RelabelType: {
452
385
  xpr: _p?.xpr,
@@ -459,9 +392,7 @@ export default {
459
392
  }
460
393
  };
461
394
  },
462
- coerceViaio(_p?: CoerceViaIO): {
463
- CoerceViaIO: CoerceViaIO;
464
- } {
395
+ coerceViaio(_p?: CoerceViaIO["CoerceViaIO"]): CoerceViaIO {
465
396
  return {
466
397
  CoerceViaIO: {
467
398
  xpr: _p?.xpr,
@@ -473,9 +404,7 @@ export default {
473
404
  }
474
405
  };
475
406
  },
476
- arrayCoerceExpr(_p?: ArrayCoerceExpr): {
477
- ArrayCoerceExpr: ArrayCoerceExpr;
478
- } {
407
+ arrayCoerceExpr(_p?: ArrayCoerceExpr["ArrayCoerceExpr"]): ArrayCoerceExpr {
479
408
  return {
480
409
  ArrayCoerceExpr: {
481
410
  xpr: _p?.xpr,
@@ -489,9 +418,7 @@ export default {
489
418
  }
490
419
  };
491
420
  },
492
- convertRowtypeExpr(_p?: ConvertRowtypeExpr): {
493
- ConvertRowtypeExpr: ConvertRowtypeExpr;
494
- } {
421
+ convertRowtypeExpr(_p?: ConvertRowtypeExpr["ConvertRowtypeExpr"]): ConvertRowtypeExpr {
495
422
  return {
496
423
  ConvertRowtypeExpr: {
497
424
  xpr: _p?.xpr,
@@ -502,9 +429,7 @@ export default {
502
429
  }
503
430
  };
504
431
  },
505
- collateExpr(_p?: CollateExpr): {
506
- CollateExpr: CollateExpr;
507
- } {
432
+ collateExpr(_p?: CollateExpr["CollateExpr"]): CollateExpr {
508
433
  return {
509
434
  CollateExpr: {
510
435
  xpr: _p?.xpr,
@@ -514,9 +439,7 @@ export default {
514
439
  }
515
440
  };
516
441
  },
517
- caseExpr(_p?: CaseExpr): {
518
- CaseExpr: CaseExpr;
519
- } {
442
+ caseExpr(_p?: CaseExpr["CaseExpr"]): CaseExpr {
520
443
  return {
521
444
  CaseExpr: {
522
445
  xpr: _p?.xpr,
@@ -529,9 +452,7 @@ export default {
529
452
  }
530
453
  };
531
454
  },
532
- caseWhen(_p?: CaseWhen): {
533
- CaseWhen: CaseWhen;
534
- } {
455
+ caseWhen(_p?: CaseWhen["CaseWhen"]): CaseWhen {
535
456
  return {
536
457
  CaseWhen: {
537
458
  xpr: _p?.xpr,
@@ -541,9 +462,7 @@ export default {
541
462
  }
542
463
  };
543
464
  },
544
- caseTestExpr(_p?: CaseTestExpr): {
545
- CaseTestExpr: CaseTestExpr;
546
- } {
465
+ caseTestExpr(_p?: CaseTestExpr["CaseTestExpr"]): CaseTestExpr {
547
466
  return {
548
467
  CaseTestExpr: {
549
468
  xpr: _p?.xpr,
@@ -553,9 +472,7 @@ export default {
553
472
  }
554
473
  };
555
474
  },
556
- arrayExpr(_p?: ArrayExpr): {
557
- ArrayExpr: ArrayExpr;
558
- } {
475
+ arrayExpr(_p?: ArrayExpr["ArrayExpr"]): ArrayExpr {
559
476
  return {
560
477
  ArrayExpr: {
561
478
  xpr: _p?.xpr,
@@ -568,9 +485,7 @@ export default {
568
485
  }
569
486
  };
570
487
  },
571
- rowExpr(_p?: RowExpr): {
572
- RowExpr: RowExpr;
573
- } {
488
+ rowExpr(_p?: RowExpr["RowExpr"]): RowExpr {
574
489
  return {
575
490
  RowExpr: {
576
491
  xpr: _p?.xpr,
@@ -582,9 +497,7 @@ export default {
582
497
  }
583
498
  };
584
499
  },
585
- rowCompareExpr(_p?: RowCompareExpr): {
586
- RowCompareExpr: RowCompareExpr;
587
- } {
500
+ rowCompareExpr(_p?: RowCompareExpr["RowCompareExpr"]): RowCompareExpr {
588
501
  return {
589
502
  RowCompareExpr: {
590
503
  xpr: _p?.xpr,
@@ -597,9 +510,7 @@ export default {
597
510
  }
598
511
  };
599
512
  },
600
- coalesceExpr(_p?: CoalesceExpr): {
601
- CoalesceExpr: CoalesceExpr;
602
- } {
513
+ coalesceExpr(_p?: CoalesceExpr["CoalesceExpr"]): CoalesceExpr {
603
514
  return {
604
515
  CoalesceExpr: {
605
516
  xpr: _p?.xpr,
@@ -610,9 +521,7 @@ export default {
610
521
  }
611
522
  };
612
523
  },
613
- minMaxExpr(_p?: MinMaxExpr): {
614
- MinMaxExpr: MinMaxExpr;
615
- } {
524
+ minMaxExpr(_p?: MinMaxExpr["MinMaxExpr"]): MinMaxExpr {
616
525
  return {
617
526
  MinMaxExpr: {
618
527
  xpr: _p?.xpr,
@@ -625,9 +534,7 @@ export default {
625
534
  }
626
535
  };
627
536
  },
628
- sqlValueFunction(_p?: SQLValueFunction): {
629
- SQLValueFunction: SQLValueFunction;
630
- } {
537
+ sqlValueFunction(_p?: SQLValueFunction["SQLValueFunction"]): SQLValueFunction {
631
538
  return {
632
539
  SQLValueFunction: {
633
540
  xpr: _p?.xpr,
@@ -638,9 +545,7 @@ export default {
638
545
  }
639
546
  };
640
547
  },
641
- xmlExpr(_p?: XmlExpr): {
642
- XmlExpr: XmlExpr;
643
- } {
548
+ xmlExpr(_p?: XmlExpr["XmlExpr"]): XmlExpr {
644
549
  return {
645
550
  XmlExpr: {
646
551
  xpr: _p?.xpr,
@@ -656,9 +561,7 @@ export default {
656
561
  }
657
562
  };
658
563
  },
659
- nullTest(_p?: NullTest): {
660
- NullTest: NullTest;
661
- } {
564
+ nullTest(_p?: NullTest["NullTest"]): NullTest {
662
565
  return {
663
566
  NullTest: {
664
567
  xpr: _p?.xpr,
@@ -669,9 +572,7 @@ export default {
669
572
  }
670
573
  };
671
574
  },
672
- booleanTest(_p?: BooleanTest): {
673
- BooleanTest: BooleanTest;
674
- } {
575
+ booleanTest(_p?: BooleanTest["BooleanTest"]): BooleanTest {
675
576
  return {
676
577
  BooleanTest: {
677
578
  xpr: _p?.xpr,
@@ -681,9 +582,7 @@ export default {
681
582
  }
682
583
  };
683
584
  },
684
- coerceToDomain(_p?: CoerceToDomain): {
685
- CoerceToDomain: CoerceToDomain;
686
- } {
585
+ coerceToDomain(_p?: CoerceToDomain["CoerceToDomain"]): CoerceToDomain {
687
586
  return {
688
587
  CoerceToDomain: {
689
588
  xpr: _p?.xpr,
@@ -696,9 +595,7 @@ export default {
696
595
  }
697
596
  };
698
597
  },
699
- coerceToDomainValue(_p?: CoerceToDomainValue): {
700
- CoerceToDomainValue: CoerceToDomainValue;
701
- } {
598
+ coerceToDomainValue(_p?: CoerceToDomainValue["CoerceToDomainValue"]): CoerceToDomainValue {
702
599
  return {
703
600
  CoerceToDomainValue: {
704
601
  xpr: _p?.xpr,
@@ -709,9 +606,7 @@ export default {
709
606
  }
710
607
  };
711
608
  },
712
- setToDefault(_p?: SetToDefault): {
713
- SetToDefault: SetToDefault;
714
- } {
609
+ setToDefault(_p?: SetToDefault["SetToDefault"]): SetToDefault {
715
610
  return {
716
611
  SetToDefault: {
717
612
  xpr: _p?.xpr,
@@ -722,9 +617,7 @@ export default {
722
617
  }
723
618
  };
724
619
  },
725
- currentOfExpr(_p?: CurrentOfExpr): {
726
- CurrentOfExpr: CurrentOfExpr;
727
- } {
620
+ currentOfExpr(_p?: CurrentOfExpr["CurrentOfExpr"]): CurrentOfExpr {
728
621
  return {
729
622
  CurrentOfExpr: {
730
623
  xpr: _p?.xpr,
@@ -734,9 +627,7 @@ export default {
734
627
  }
735
628
  };
736
629
  },
737
- nextValueExpr(_p?: NextValueExpr): {
738
- NextValueExpr: NextValueExpr;
739
- } {
630
+ nextValueExpr(_p?: NextValueExpr["NextValueExpr"]): NextValueExpr {
740
631
  return {
741
632
  NextValueExpr: {
742
633
  xpr: _p?.xpr,
@@ -745,9 +636,7 @@ export default {
745
636
  }
746
637
  };
747
638
  },
748
- inferenceElem(_p?: InferenceElem): {
749
- InferenceElem: InferenceElem;
750
- } {
639
+ inferenceElem(_p?: InferenceElem["InferenceElem"]): InferenceElem {
751
640
  return {
752
641
  InferenceElem: {
753
642
  xpr: _p?.xpr,
@@ -757,9 +646,7 @@ export default {
757
646
  }
758
647
  };
759
648
  },
760
- targetEntry(_p?: TargetEntry): {
761
- TargetEntry: TargetEntry;
762
- } {
649
+ targetEntry(_p?: TargetEntry["TargetEntry"]): TargetEntry {
763
650
  return {
764
651
  TargetEntry: {
765
652
  xpr: _p?.xpr,
@@ -773,18 +660,14 @@ export default {
773
660
  }
774
661
  };
775
662
  },
776
- rangeTblRef(_p?: RangeTblRef): {
777
- RangeTblRef: RangeTblRef;
778
- } {
663
+ rangeTblRef(_p?: RangeTblRef["RangeTblRef"]): RangeTblRef {
779
664
  return {
780
665
  RangeTblRef: {
781
666
  rtindex: _p?.rtindex
782
667
  }
783
668
  };
784
669
  },
785
- joinExpr(_p?: JoinExpr): {
786
- JoinExpr: JoinExpr;
787
- } {
670
+ joinExpr(_p?: JoinExpr["JoinExpr"]): JoinExpr {
788
671
  return {
789
672
  JoinExpr: {
790
673
  jointype: _p?.jointype,
@@ -798,9 +681,7 @@ export default {
798
681
  }
799
682
  };
800
683
  },
801
- fromExpr(_p?: FromExpr): {
802
- FromExpr: FromExpr;
803
- } {
684
+ fromExpr(_p?: FromExpr["FromExpr"]): FromExpr {
804
685
  return {
805
686
  FromExpr: {
806
687
  fromlist: _p?.fromlist,
@@ -808,9 +689,7 @@ export default {
808
689
  }
809
690
  };
810
691
  },
811
- onConflictExpr(_p?: OnConflictExpr): {
812
- OnConflictExpr: OnConflictExpr;
813
- } {
692
+ onConflictExpr(_p?: OnConflictExpr["OnConflictExpr"]): OnConflictExpr {
814
693
  return {
815
694
  OnConflictExpr: {
816
695
  action: _p?.action,
@@ -824,9 +703,7 @@ export default {
824
703
  }
825
704
  };
826
705
  },
827
- intoClause(_p?: IntoClause): {
828
- IntoClause: IntoClause;
829
- } {
706
+ intoClause(_p?: IntoClause["IntoClause"]): IntoClause {
830
707
  return {
831
708
  IntoClause: {
832
709
  rel: _p?.rel,
@@ -840,9 +717,7 @@ export default {
840
717
  }
841
718
  };
842
719
  },
843
- rawStmt(_p?: RawStmt): {
844
- RawStmt: RawStmt;
845
- } {
720
+ rawStmt(_p?: RawStmt["RawStmt"]): RawStmt {
846
721
  return {
847
722
  RawStmt: {
848
723
  stmt: _p?.stmt,
@@ -851,9 +726,7 @@ export default {
851
726
  }
852
727
  };
853
728
  },
854
- query(_p?: Query): {
855
- Query: Query;
856
- } {
729
+ query(_p?: Query["Query"]): Query {
857
730
  return {
858
731
  Query: {
859
732
  commandType: _p?.commandType,
@@ -895,9 +768,7 @@ export default {
895
768
  }
896
769
  };
897
770
  },
898
- insertStmt(_p?: InsertStmt): {
899
- InsertStmt: InsertStmt;
900
- } {
771
+ insertStmt(_p?: InsertStmt["InsertStmt"]): InsertStmt {
901
772
  return {
902
773
  InsertStmt: {
903
774
  relation: _p?.relation,
@@ -910,9 +781,7 @@ export default {
910
781
  }
911
782
  };
912
783
  },
913
- deleteStmt(_p?: DeleteStmt): {
914
- DeleteStmt: DeleteStmt;
915
- } {
784
+ deleteStmt(_p?: DeleteStmt["DeleteStmt"]): DeleteStmt {
916
785
  return {
917
786
  DeleteStmt: {
918
787
  relation: _p?.relation,
@@ -923,9 +792,7 @@ export default {
923
792
  }
924
793
  };
925
794
  },
926
- updateStmt(_p?: UpdateStmt): {
927
- UpdateStmt: UpdateStmt;
928
- } {
795
+ updateStmt(_p?: UpdateStmt["UpdateStmt"]): UpdateStmt {
929
796
  return {
930
797
  UpdateStmt: {
931
798
  relation: _p?.relation,
@@ -937,9 +804,7 @@ export default {
937
804
  }
938
805
  };
939
806
  },
940
- selectStmt(_p?: SelectStmt): {
941
- SelectStmt: SelectStmt;
942
- } {
807
+ selectStmt(_p?: SelectStmt["SelectStmt"]): SelectStmt {
943
808
  return {
944
809
  SelectStmt: {
945
810
  distinctClause: _p?.distinctClause,
@@ -964,9 +829,7 @@ export default {
964
829
  }
965
830
  };
966
831
  },
967
- alterTableStmt(_p?: AlterTableStmt): {
968
- AlterTableStmt: AlterTableStmt;
969
- } {
832
+ alterTableStmt(_p?: AlterTableStmt["AlterTableStmt"]): AlterTableStmt {
970
833
  return {
971
834
  AlterTableStmt: {
972
835
  relation: _p?.relation,
@@ -976,9 +839,7 @@ export default {
976
839
  }
977
840
  };
978
841
  },
979
- alterTableCmd(_p?: AlterTableCmd): {
980
- AlterTableCmd: AlterTableCmd;
981
- } {
842
+ alterTableCmd(_p?: AlterTableCmd["AlterTableCmd"]): AlterTableCmd {
982
843
  return {
983
844
  AlterTableCmd: {
984
845
  subtype: _p?.subtype,
@@ -992,9 +853,7 @@ export default {
992
853
  }
993
854
  };
994
855
  },
995
- alterDomainStmt(_p?: AlterDomainStmt): {
996
- AlterDomainStmt: AlterDomainStmt;
997
- } {
856
+ alterDomainStmt(_p?: AlterDomainStmt["AlterDomainStmt"]): AlterDomainStmt {
998
857
  return {
999
858
  AlterDomainStmt: {
1000
859
  subtype: _p?.subtype,
@@ -1006,9 +865,7 @@ export default {
1006
865
  }
1007
866
  };
1008
867
  },
1009
- setOperationStmt(_p?: SetOperationStmt): {
1010
- SetOperationStmt: SetOperationStmt;
1011
- } {
868
+ setOperationStmt(_p?: SetOperationStmt["SetOperationStmt"]): SetOperationStmt {
1012
869
  return {
1013
870
  SetOperationStmt: {
1014
871
  op: _p?.op,
@@ -1022,9 +879,7 @@ export default {
1022
879
  }
1023
880
  };
1024
881
  },
1025
- grantStmt(_p?: GrantStmt): {
1026
- GrantStmt: GrantStmt;
1027
- } {
882
+ grantStmt(_p?: GrantStmt["GrantStmt"]): GrantStmt {
1028
883
  return {
1029
884
  GrantStmt: {
1030
885
  is_grant: _p?.is_grant,
@@ -1038,9 +893,7 @@ export default {
1038
893
  }
1039
894
  };
1040
895
  },
1041
- grantRoleStmt(_p?: GrantRoleStmt): {
1042
- GrantRoleStmt: GrantRoleStmt;
1043
- } {
896
+ grantRoleStmt(_p?: GrantRoleStmt["GrantRoleStmt"]): GrantRoleStmt {
1044
897
  return {
1045
898
  GrantRoleStmt: {
1046
899
  granted_roles: _p?.granted_roles,
@@ -1052,9 +905,7 @@ export default {
1052
905
  }
1053
906
  };
1054
907
  },
1055
- alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt): {
1056
- AlterDefaultPrivilegesStmt: AlterDefaultPrivilegesStmt;
1057
- } {
908
+ alterDefaultPrivilegesStmt(_p?: AlterDefaultPrivilegesStmt["AlterDefaultPrivilegesStmt"]): AlterDefaultPrivilegesStmt {
1058
909
  return {
1059
910
  AlterDefaultPrivilegesStmt: {
1060
911
  options: _p?.options,
@@ -1062,18 +913,14 @@ export default {
1062
913
  }
1063
914
  };
1064
915
  },
1065
- closePortalStmt(_p?: ClosePortalStmt): {
1066
- ClosePortalStmt: ClosePortalStmt;
1067
- } {
916
+ closePortalStmt(_p?: ClosePortalStmt["ClosePortalStmt"]): ClosePortalStmt {
1068
917
  return {
1069
918
  ClosePortalStmt: {
1070
919
  portalname: _p?.portalname
1071
920
  }
1072
921
  };
1073
922
  },
1074
- clusterStmt(_p?: ClusterStmt): {
1075
- ClusterStmt: ClusterStmt;
1076
- } {
923
+ clusterStmt(_p?: ClusterStmt["ClusterStmt"]): ClusterStmt {
1077
924
  return {
1078
925
  ClusterStmt: {
1079
926
  relation: _p?.relation,
@@ -1082,9 +929,7 @@ export default {
1082
929
  }
1083
930
  };
1084
931
  },
1085
- copyStmt(_p?: CopyStmt): {
1086
- CopyStmt: CopyStmt;
1087
- } {
932
+ copyStmt(_p?: CopyStmt["CopyStmt"]): CopyStmt {
1088
933
  return {
1089
934
  CopyStmt: {
1090
935
  relation: _p?.relation,
@@ -1098,9 +943,7 @@ export default {
1098
943
  }
1099
944
  };
1100
945
  },
1101
- createStmt(_p?: CreateStmt): {
1102
- CreateStmt: CreateStmt;
1103
- } {
946
+ createStmt(_p?: CreateStmt["CreateStmt"]): CreateStmt {
1104
947
  return {
1105
948
  CreateStmt: {
1106
949
  relation: _p?.relation,
@@ -1118,9 +961,7 @@ export default {
1118
961
  }
1119
962
  };
1120
963
  },
1121
- defineStmt(_p?: DefineStmt): {
1122
- DefineStmt: DefineStmt;
1123
- } {
964
+ defineStmt(_p?: DefineStmt["DefineStmt"]): DefineStmt {
1124
965
  return {
1125
966
  DefineStmt: {
1126
967
  kind: _p?.kind,
@@ -1133,9 +974,7 @@ export default {
1133
974
  }
1134
975
  };
1135
976
  },
1136
- dropStmt(_p?: DropStmt): {
1137
- DropStmt: DropStmt;
1138
- } {
977
+ dropStmt(_p?: DropStmt["DropStmt"]): DropStmt {
1139
978
  return {
1140
979
  DropStmt: {
1141
980
  objects: _p?.objects,
@@ -1146,9 +985,7 @@ export default {
1146
985
  }
1147
986
  };
1148
987
  },
1149
- truncateStmt(_p?: TruncateStmt): {
1150
- TruncateStmt: TruncateStmt;
1151
- } {
988
+ truncateStmt(_p?: TruncateStmt["TruncateStmt"]): TruncateStmt {
1152
989
  return {
1153
990
  TruncateStmt: {
1154
991
  relations: _p?.relations,
@@ -1157,9 +994,7 @@ export default {
1157
994
  }
1158
995
  };
1159
996
  },
1160
- commentStmt(_p?: CommentStmt): {
1161
- CommentStmt: CommentStmt;
1162
- } {
997
+ commentStmt(_p?: CommentStmt["CommentStmt"]): CommentStmt {
1163
998
  return {
1164
999
  CommentStmt: {
1165
1000
  objtype: _p?.objtype,
@@ -1168,9 +1003,7 @@ export default {
1168
1003
  }
1169
1004
  };
1170
1005
  },
1171
- fetchStmt(_p?: FetchStmt): {
1172
- FetchStmt: FetchStmt;
1173
- } {
1006
+ fetchStmt(_p?: FetchStmt["FetchStmt"]): FetchStmt {
1174
1007
  return {
1175
1008
  FetchStmt: {
1176
1009
  direction: _p?.direction,
@@ -1180,9 +1013,7 @@ export default {
1180
1013
  }
1181
1014
  };
1182
1015
  },
1183
- indexStmt(_p?: IndexStmt): {
1184
- IndexStmt: IndexStmt;
1185
- } {
1016
+ indexStmt(_p?: IndexStmt["IndexStmt"]): IndexStmt {
1186
1017
  return {
1187
1018
  IndexStmt: {
1188
1019
  idxname: _p?.idxname,
@@ -1211,9 +1042,7 @@ export default {
1211
1042
  }
1212
1043
  };
1213
1044
  },
1214
- createFunctionStmt(_p?: CreateFunctionStmt): {
1215
- CreateFunctionStmt: CreateFunctionStmt;
1216
- } {
1045
+ createFunctionStmt(_p?: CreateFunctionStmt["CreateFunctionStmt"]): CreateFunctionStmt {
1217
1046
  return {
1218
1047
  CreateFunctionStmt: {
1219
1048
  is_procedure: _p?.is_procedure,
@@ -1225,9 +1054,7 @@ export default {
1225
1054
  }
1226
1055
  };
1227
1056
  },
1228
- alterFunctionStmt(_p?: AlterFunctionStmt): {
1229
- AlterFunctionStmt: AlterFunctionStmt;
1230
- } {
1057
+ alterFunctionStmt(_p?: AlterFunctionStmt["AlterFunctionStmt"]): AlterFunctionStmt {
1231
1058
  return {
1232
1059
  AlterFunctionStmt: {
1233
1060
  objtype: _p?.objtype,
@@ -1236,18 +1063,14 @@ export default {
1236
1063
  }
1237
1064
  };
1238
1065
  },
1239
- doStmt(_p?: DoStmt): {
1240
- DoStmt: DoStmt;
1241
- } {
1066
+ doStmt(_p?: DoStmt["DoStmt"]): DoStmt {
1242
1067
  return {
1243
1068
  DoStmt: {
1244
1069
  args: _p?.args
1245
1070
  }
1246
1071
  };
1247
1072
  },
1248
- renameStmt(_p?: RenameStmt): {
1249
- RenameStmt: RenameStmt;
1250
- } {
1073
+ renameStmt(_p?: RenameStmt["RenameStmt"]): RenameStmt {
1251
1074
  return {
1252
1075
  RenameStmt: {
1253
1076
  renameType: _p?.renameType,
@@ -1261,9 +1084,7 @@ export default {
1261
1084
  }
1262
1085
  };
1263
1086
  },
1264
- ruleStmt(_p?: RuleStmt): {
1265
- RuleStmt: RuleStmt;
1266
- } {
1087
+ ruleStmt(_p?: RuleStmt["RuleStmt"]): RuleStmt {
1267
1088
  return {
1268
1089
  RuleStmt: {
1269
1090
  relation: _p?.relation,
@@ -1276,9 +1097,7 @@ export default {
1276
1097
  }
1277
1098
  };
1278
1099
  },
1279
- notifyStmt(_p?: NotifyStmt): {
1280
- NotifyStmt: NotifyStmt;
1281
- } {
1100
+ notifyStmt(_p?: NotifyStmt["NotifyStmt"]): NotifyStmt {
1282
1101
  return {
1283
1102
  NotifyStmt: {
1284
1103
  conditionname: _p?.conditionname,
@@ -1286,27 +1105,21 @@ export default {
1286
1105
  }
1287
1106
  };
1288
1107
  },
1289
- listenStmt(_p?: ListenStmt): {
1290
- ListenStmt: ListenStmt;
1291
- } {
1108
+ listenStmt(_p?: ListenStmt["ListenStmt"]): ListenStmt {
1292
1109
  return {
1293
1110
  ListenStmt: {
1294
1111
  conditionname: _p?.conditionname
1295
1112
  }
1296
1113
  };
1297
1114
  },
1298
- unlistenStmt(_p?: UnlistenStmt): {
1299
- UnlistenStmt: UnlistenStmt;
1300
- } {
1115
+ unlistenStmt(_p?: UnlistenStmt["UnlistenStmt"]): UnlistenStmt {
1301
1116
  return {
1302
1117
  UnlistenStmt: {
1303
1118
  conditionname: _p?.conditionname
1304
1119
  }
1305
1120
  };
1306
1121
  },
1307
- transactionStmt(_p?: TransactionStmt): {
1308
- TransactionStmt: TransactionStmt;
1309
- } {
1122
+ transactionStmt(_p?: TransactionStmt["TransactionStmt"]): TransactionStmt {
1310
1123
  return {
1311
1124
  TransactionStmt: {
1312
1125
  kind: _p?.kind,
@@ -1317,9 +1130,7 @@ export default {
1317
1130
  }
1318
1131
  };
1319
1132
  },
1320
- viewStmt(_p?: ViewStmt): {
1321
- ViewStmt: ViewStmt;
1322
- } {
1133
+ viewStmt(_p?: ViewStmt["ViewStmt"]): ViewStmt {
1323
1134
  return {
1324
1135
  ViewStmt: {
1325
1136
  view: _p?.view,
@@ -1331,18 +1142,14 @@ export default {
1331
1142
  }
1332
1143
  };
1333
1144
  },
1334
- loadStmt(_p?: LoadStmt): {
1335
- LoadStmt: LoadStmt;
1336
- } {
1145
+ loadStmt(_p?: LoadStmt["LoadStmt"]): LoadStmt {
1337
1146
  return {
1338
1147
  LoadStmt: {
1339
1148
  filename: _p?.filename
1340
1149
  }
1341
1150
  };
1342
1151
  },
1343
- createDomainStmt(_p?: CreateDomainStmt): {
1344
- CreateDomainStmt: CreateDomainStmt;
1345
- } {
1152
+ createDomainStmt(_p?: CreateDomainStmt["CreateDomainStmt"]): CreateDomainStmt {
1346
1153
  return {
1347
1154
  CreateDomainStmt: {
1348
1155
  domainname: _p?.domainname,
@@ -1352,9 +1159,7 @@ export default {
1352
1159
  }
1353
1160
  };
1354
1161
  },
1355
- createdbStmt(_p?: CreatedbStmt): {
1356
- CreatedbStmt: CreatedbStmt;
1357
- } {
1162
+ createdbStmt(_p?: CreatedbStmt["CreatedbStmt"]): CreatedbStmt {
1358
1163
  return {
1359
1164
  CreatedbStmt: {
1360
1165
  dbname: _p?.dbname,
@@ -1362,9 +1167,7 @@ export default {
1362
1167
  }
1363
1168
  };
1364
1169
  },
1365
- dropdbStmt(_p?: DropdbStmt): {
1366
- DropdbStmt: DropdbStmt;
1367
- } {
1170
+ dropdbStmt(_p?: DropdbStmt["DropdbStmt"]): DropdbStmt {
1368
1171
  return {
1369
1172
  DropdbStmt: {
1370
1173
  dbname: _p?.dbname,
@@ -1373,9 +1176,7 @@ export default {
1373
1176
  }
1374
1177
  };
1375
1178
  },
1376
- vacuumStmt(_p?: VacuumStmt): {
1377
- VacuumStmt: VacuumStmt;
1378
- } {
1179
+ vacuumStmt(_p?: VacuumStmt["VacuumStmt"]): VacuumStmt {
1379
1180
  return {
1380
1181
  VacuumStmt: {
1381
1182
  options: _p?.options,
@@ -1384,9 +1185,7 @@ export default {
1384
1185
  }
1385
1186
  };
1386
1187
  },
1387
- explainStmt(_p?: ExplainStmt): {
1388
- ExplainStmt: ExplainStmt;
1389
- } {
1188
+ explainStmt(_p?: ExplainStmt["ExplainStmt"]): ExplainStmt {
1390
1189
  return {
1391
1190
  ExplainStmt: {
1392
1191
  query: _p?.query,
@@ -1394,9 +1193,7 @@ export default {
1394
1193
  }
1395
1194
  };
1396
1195
  },
1397
- createTableAsStmt(_p?: CreateTableAsStmt): {
1398
- CreateTableAsStmt: CreateTableAsStmt;
1399
- } {
1196
+ createTableAsStmt(_p?: CreateTableAsStmt["CreateTableAsStmt"]): CreateTableAsStmt {
1400
1197
  return {
1401
1198
  CreateTableAsStmt: {
1402
1199
  query: _p?.query,
@@ -1407,9 +1204,7 @@ export default {
1407
1204
  }
1408
1205
  };
1409
1206
  },
1410
- createSeqStmt(_p?: CreateSeqStmt): {
1411
- CreateSeqStmt: CreateSeqStmt;
1412
- } {
1207
+ createSeqStmt(_p?: CreateSeqStmt["CreateSeqStmt"]): CreateSeqStmt {
1413
1208
  return {
1414
1209
  CreateSeqStmt: {
1415
1210
  sequence: _p?.sequence,
@@ -1420,9 +1215,7 @@ export default {
1420
1215
  }
1421
1216
  };
1422
1217
  },
1423
- alterSeqStmt(_p?: AlterSeqStmt): {
1424
- AlterSeqStmt: AlterSeqStmt;
1425
- } {
1218
+ alterSeqStmt(_p?: AlterSeqStmt["AlterSeqStmt"]): AlterSeqStmt {
1426
1219
  return {
1427
1220
  AlterSeqStmt: {
1428
1221
  sequence: _p?.sequence,
@@ -1432,9 +1225,7 @@ export default {
1432
1225
  }
1433
1226
  };
1434
1227
  },
1435
- variableSetStmt(_p?: VariableSetStmt): {
1436
- VariableSetStmt: VariableSetStmt;
1437
- } {
1228
+ variableSetStmt(_p?: VariableSetStmt["VariableSetStmt"]): VariableSetStmt {
1438
1229
  return {
1439
1230
  VariableSetStmt: {
1440
1231
  kind: _p?.kind,
@@ -1444,27 +1235,21 @@ export default {
1444
1235
  }
1445
1236
  };
1446
1237
  },
1447
- variableShowStmt(_p?: VariableShowStmt): {
1448
- VariableShowStmt: VariableShowStmt;
1449
- } {
1238
+ variableShowStmt(_p?: VariableShowStmt["VariableShowStmt"]): VariableShowStmt {
1450
1239
  return {
1451
1240
  VariableShowStmt: {
1452
1241
  name: _p?.name
1453
1242
  }
1454
1243
  };
1455
1244
  },
1456
- discardStmt(_p?: DiscardStmt): {
1457
- DiscardStmt: DiscardStmt;
1458
- } {
1245
+ discardStmt(_p?: DiscardStmt["DiscardStmt"]): DiscardStmt {
1459
1246
  return {
1460
1247
  DiscardStmt: {
1461
1248
  target: _p?.target
1462
1249
  }
1463
1250
  };
1464
1251
  },
1465
- createTrigStmt(_p?: CreateTrigStmt): {
1466
- CreateTrigStmt: CreateTrigStmt;
1467
- } {
1252
+ createTrigStmt(_p?: CreateTrigStmt["CreateTrigStmt"]): CreateTrigStmt {
1468
1253
  return {
1469
1254
  CreateTrigStmt: {
1470
1255
  trigname: _p?.trigname,
@@ -1484,9 +1269,7 @@ export default {
1484
1269
  }
1485
1270
  };
1486
1271
  },
1487
- createpLangStmt(_p?: CreatePLangStmt): {
1488
- CreatePLangStmt: CreatePLangStmt;
1489
- } {
1272
+ createpLangStmt(_p?: CreatePLangStmt["CreatePLangStmt"]): CreatePLangStmt {
1490
1273
  return {
1491
1274
  CreatePLangStmt: {
1492
1275
  replace: _p?.replace,
@@ -1498,9 +1281,7 @@ export default {
1498
1281
  }
1499
1282
  };
1500
1283
  },
1501
- createRoleStmt(_p?: CreateRoleStmt): {
1502
- CreateRoleStmt: CreateRoleStmt;
1503
- } {
1284
+ createRoleStmt(_p?: CreateRoleStmt["CreateRoleStmt"]): CreateRoleStmt {
1504
1285
  return {
1505
1286
  CreateRoleStmt: {
1506
1287
  stmt_type: _p?.stmt_type,
@@ -1509,9 +1290,7 @@ export default {
1509
1290
  }
1510
1291
  };
1511
1292
  },
1512
- alterRoleStmt(_p?: AlterRoleStmt): {
1513
- AlterRoleStmt: AlterRoleStmt;
1514
- } {
1293
+ alterRoleStmt(_p?: AlterRoleStmt["AlterRoleStmt"]): AlterRoleStmt {
1515
1294
  return {
1516
1295
  AlterRoleStmt: {
1517
1296
  role: _p?.role,
@@ -1520,9 +1299,7 @@ export default {
1520
1299
  }
1521
1300
  };
1522
1301
  },
1523
- dropRoleStmt(_p?: DropRoleStmt): {
1524
- DropRoleStmt: DropRoleStmt;
1525
- } {
1302
+ dropRoleStmt(_p?: DropRoleStmt["DropRoleStmt"]): DropRoleStmt {
1526
1303
  return {
1527
1304
  DropRoleStmt: {
1528
1305
  roles: _p?.roles,
@@ -1530,9 +1307,7 @@ export default {
1530
1307
  }
1531
1308
  };
1532
1309
  },
1533
- lockStmt(_p?: LockStmt): {
1534
- LockStmt: LockStmt;
1535
- } {
1310
+ lockStmt(_p?: LockStmt["LockStmt"]): LockStmt {
1536
1311
  return {
1537
1312
  LockStmt: {
1538
1313
  relations: _p?.relations,
@@ -1541,9 +1316,7 @@ export default {
1541
1316
  }
1542
1317
  };
1543
1318
  },
1544
- constraintsSetStmt(_p?: ConstraintsSetStmt): {
1545
- ConstraintsSetStmt: ConstraintsSetStmt;
1546
- } {
1319
+ constraintsSetStmt(_p?: ConstraintsSetStmt["ConstraintsSetStmt"]): ConstraintsSetStmt {
1547
1320
  return {
1548
1321
  ConstraintsSetStmt: {
1549
1322
  constraints: _p?.constraints,
@@ -1551,9 +1324,7 @@ export default {
1551
1324
  }
1552
1325
  };
1553
1326
  },
1554
- reindexStmt(_p?: ReindexStmt): {
1555
- ReindexStmt: ReindexStmt;
1556
- } {
1327
+ reindexStmt(_p?: ReindexStmt["ReindexStmt"]): ReindexStmt {
1557
1328
  return {
1558
1329
  ReindexStmt: {
1559
1330
  kind: _p?.kind,
@@ -1564,16 +1335,12 @@ export default {
1564
1335
  }
1565
1336
  };
1566
1337
  },
1567
- checkPointStmt(_p?: CheckPointStmt): {
1568
- CheckPointStmt: CheckPointStmt;
1569
- } {
1338
+ checkPointStmt(_p?: CheckPointStmt["CheckPointStmt"]): CheckPointStmt {
1570
1339
  return {
1571
1340
  CheckPointStmt: {}
1572
1341
  };
1573
1342
  },
1574
- createSchemaStmt(_p?: CreateSchemaStmt): {
1575
- CreateSchemaStmt: CreateSchemaStmt;
1576
- } {
1343
+ createSchemaStmt(_p?: CreateSchemaStmt["CreateSchemaStmt"]): CreateSchemaStmt {
1577
1344
  return {
1578
1345
  CreateSchemaStmt: {
1579
1346
  schemaname: _p?.schemaname,
@@ -1583,9 +1350,7 @@ export default {
1583
1350
  }
1584
1351
  };
1585
1352
  },
1586
- alterDatabaseStmt(_p?: AlterDatabaseStmt): {
1587
- AlterDatabaseStmt: AlterDatabaseStmt;
1588
- } {
1353
+ alterDatabaseStmt(_p?: AlterDatabaseStmt["AlterDatabaseStmt"]): AlterDatabaseStmt {
1589
1354
  return {
1590
1355
  AlterDatabaseStmt: {
1591
1356
  dbname: _p?.dbname,
@@ -1593,9 +1358,7 @@ export default {
1593
1358
  }
1594
1359
  };
1595
1360
  },
1596
- alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt): {
1597
- AlterDatabaseSetStmt: AlterDatabaseSetStmt;
1598
- } {
1361
+ alterDatabaseSetStmt(_p?: AlterDatabaseSetStmt["AlterDatabaseSetStmt"]): AlterDatabaseSetStmt {
1599
1362
  return {
1600
1363
  AlterDatabaseSetStmt: {
1601
1364
  dbname: _p?.dbname,
@@ -1603,9 +1366,7 @@ export default {
1603
1366
  }
1604
1367
  };
1605
1368
  },
1606
- alterRoleSetStmt(_p?: AlterRoleSetStmt): {
1607
- AlterRoleSetStmt: AlterRoleSetStmt;
1608
- } {
1369
+ alterRoleSetStmt(_p?: AlterRoleSetStmt["AlterRoleSetStmt"]): AlterRoleSetStmt {
1609
1370
  return {
1610
1371
  AlterRoleSetStmt: {
1611
1372
  role: _p?.role,
@@ -1614,9 +1375,7 @@ export default {
1614
1375
  }
1615
1376
  };
1616
1377
  },
1617
- createConversionStmt(_p?: CreateConversionStmt): {
1618
- CreateConversionStmt: CreateConversionStmt;
1619
- } {
1378
+ createConversionStmt(_p?: CreateConversionStmt["CreateConversionStmt"]): CreateConversionStmt {
1620
1379
  return {
1621
1380
  CreateConversionStmt: {
1622
1381
  conversion_name: _p?.conversion_name,
@@ -1627,9 +1386,7 @@ export default {
1627
1386
  }
1628
1387
  };
1629
1388
  },
1630
- createCastStmt(_p?: CreateCastStmt): {
1631
- CreateCastStmt: CreateCastStmt;
1632
- } {
1389
+ createCastStmt(_p?: CreateCastStmt["CreateCastStmt"]): CreateCastStmt {
1633
1390
  return {
1634
1391
  CreateCastStmt: {
1635
1392
  sourcetype: _p?.sourcetype,
@@ -1640,9 +1397,7 @@ export default {
1640
1397
  }
1641
1398
  };
1642
1399
  },
1643
- createOpClassStmt(_p?: CreateOpClassStmt): {
1644
- CreateOpClassStmt: CreateOpClassStmt;
1645
- } {
1400
+ createOpClassStmt(_p?: CreateOpClassStmt["CreateOpClassStmt"]): CreateOpClassStmt {
1646
1401
  return {
1647
1402
  CreateOpClassStmt: {
1648
1403
  opclassname: _p?.opclassname,
@@ -1654,9 +1409,7 @@ export default {
1654
1409
  }
1655
1410
  };
1656
1411
  },
1657
- createOpFamilyStmt(_p?: CreateOpFamilyStmt): {
1658
- CreateOpFamilyStmt: CreateOpFamilyStmt;
1659
- } {
1412
+ createOpFamilyStmt(_p?: CreateOpFamilyStmt["CreateOpFamilyStmt"]): CreateOpFamilyStmt {
1660
1413
  return {
1661
1414
  CreateOpFamilyStmt: {
1662
1415
  opfamilyname: _p?.opfamilyname,
@@ -1664,9 +1417,7 @@ export default {
1664
1417
  }
1665
1418
  };
1666
1419
  },
1667
- alterOpFamilyStmt(_p?: AlterOpFamilyStmt): {
1668
- AlterOpFamilyStmt: AlterOpFamilyStmt;
1669
- } {
1420
+ alterOpFamilyStmt(_p?: AlterOpFamilyStmt["AlterOpFamilyStmt"]): AlterOpFamilyStmt {
1670
1421
  return {
1671
1422
  AlterOpFamilyStmt: {
1672
1423
  opfamilyname: _p?.opfamilyname,
@@ -1676,9 +1427,7 @@ export default {
1676
1427
  }
1677
1428
  };
1678
1429
  },
1679
- prepareStmt(_p?: PrepareStmt): {
1680
- PrepareStmt: PrepareStmt;
1681
- } {
1430
+ prepareStmt(_p?: PrepareStmt["PrepareStmt"]): PrepareStmt {
1682
1431
  return {
1683
1432
  PrepareStmt: {
1684
1433
  name: _p?.name,
@@ -1687,9 +1436,7 @@ export default {
1687
1436
  }
1688
1437
  };
1689
1438
  },
1690
- executeStmt(_p?: ExecuteStmt): {
1691
- ExecuteStmt: ExecuteStmt;
1692
- } {
1439
+ executeStmt(_p?: ExecuteStmt["ExecuteStmt"]): ExecuteStmt {
1693
1440
  return {
1694
1441
  ExecuteStmt: {
1695
1442
  name: _p?.name,
@@ -1697,18 +1444,14 @@ export default {
1697
1444
  }
1698
1445
  };
1699
1446
  },
1700
- deallocateStmt(_p?: DeallocateStmt): {
1701
- DeallocateStmt: DeallocateStmt;
1702
- } {
1447
+ deallocateStmt(_p?: DeallocateStmt["DeallocateStmt"]): DeallocateStmt {
1703
1448
  return {
1704
1449
  DeallocateStmt: {
1705
1450
  name: _p?.name
1706
1451
  }
1707
1452
  };
1708
1453
  },
1709
- declareCursorStmt(_p?: DeclareCursorStmt): {
1710
- DeclareCursorStmt: DeclareCursorStmt;
1711
- } {
1454
+ declareCursorStmt(_p?: DeclareCursorStmt["DeclareCursorStmt"]): DeclareCursorStmt {
1712
1455
  return {
1713
1456
  DeclareCursorStmt: {
1714
1457
  portalname: _p?.portalname,
@@ -1717,9 +1460,7 @@ export default {
1717
1460
  }
1718
1461
  };
1719
1462
  },
1720
- createTableSpaceStmt(_p?: CreateTableSpaceStmt): {
1721
- CreateTableSpaceStmt: CreateTableSpaceStmt;
1722
- } {
1463
+ createTableSpaceStmt(_p?: CreateTableSpaceStmt["CreateTableSpaceStmt"]): CreateTableSpaceStmt {
1723
1464
  return {
1724
1465
  CreateTableSpaceStmt: {
1725
1466
  tablespacename: _p?.tablespacename,
@@ -1729,9 +1470,7 @@ export default {
1729
1470
  }
1730
1471
  };
1731
1472
  },
1732
- dropTableSpaceStmt(_p?: DropTableSpaceStmt): {
1733
- DropTableSpaceStmt: DropTableSpaceStmt;
1734
- } {
1473
+ dropTableSpaceStmt(_p?: DropTableSpaceStmt["DropTableSpaceStmt"]): DropTableSpaceStmt {
1735
1474
  return {
1736
1475
  DropTableSpaceStmt: {
1737
1476
  tablespacename: _p?.tablespacename,
@@ -1739,9 +1478,7 @@ export default {
1739
1478
  }
1740
1479
  };
1741
1480
  },
1742
- alterObjectDependsStmt(_p?: AlterObjectDependsStmt): {
1743
- AlterObjectDependsStmt: AlterObjectDependsStmt;
1744
- } {
1481
+ alterObjectDependsStmt(_p?: AlterObjectDependsStmt["AlterObjectDependsStmt"]): AlterObjectDependsStmt {
1745
1482
  return {
1746
1483
  AlterObjectDependsStmt: {
1747
1484
  objectType: _p?.objectType,
@@ -1752,9 +1489,7 @@ export default {
1752
1489
  }
1753
1490
  };
1754
1491
  },
1755
- alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt): {
1756
- AlterObjectSchemaStmt: AlterObjectSchemaStmt;
1757
- } {
1492
+ alterObjectSchemaStmt(_p?: AlterObjectSchemaStmt["AlterObjectSchemaStmt"]): AlterObjectSchemaStmt {
1758
1493
  return {
1759
1494
  AlterObjectSchemaStmt: {
1760
1495
  objectType: _p?.objectType,
@@ -1765,9 +1500,7 @@ export default {
1765
1500
  }
1766
1501
  };
1767
1502
  },
1768
- alterOwnerStmt(_p?: AlterOwnerStmt): {
1769
- AlterOwnerStmt: AlterOwnerStmt;
1770
- } {
1503
+ alterOwnerStmt(_p?: AlterOwnerStmt["AlterOwnerStmt"]): AlterOwnerStmt {
1771
1504
  return {
1772
1505
  AlterOwnerStmt: {
1773
1506
  objectType: _p?.objectType,
@@ -1777,9 +1510,7 @@ export default {
1777
1510
  }
1778
1511
  };
1779
1512
  },
1780
- alterOperatorStmt(_p?: AlterOperatorStmt): {
1781
- AlterOperatorStmt: AlterOperatorStmt;
1782
- } {
1513
+ alterOperatorStmt(_p?: AlterOperatorStmt["AlterOperatorStmt"]): AlterOperatorStmt {
1783
1514
  return {
1784
1515
  AlterOperatorStmt: {
1785
1516
  opername: _p?.opername,
@@ -1787,9 +1518,7 @@ export default {
1787
1518
  }
1788
1519
  };
1789
1520
  },
1790
- alterTypeStmt(_p?: AlterTypeStmt): {
1791
- AlterTypeStmt: AlterTypeStmt;
1792
- } {
1521
+ alterTypeStmt(_p?: AlterTypeStmt["AlterTypeStmt"]): AlterTypeStmt {
1793
1522
  return {
1794
1523
  AlterTypeStmt: {
1795
1524
  typeName: _p?.typeName,
@@ -1797,9 +1526,7 @@ export default {
1797
1526
  }
1798
1527
  };
1799
1528
  },
1800
- dropOwnedStmt(_p?: DropOwnedStmt): {
1801
- DropOwnedStmt: DropOwnedStmt;
1802
- } {
1529
+ dropOwnedStmt(_p?: DropOwnedStmt["DropOwnedStmt"]): DropOwnedStmt {
1803
1530
  return {
1804
1531
  DropOwnedStmt: {
1805
1532
  roles: _p?.roles,
@@ -1807,9 +1534,7 @@ export default {
1807
1534
  }
1808
1535
  };
1809
1536
  },
1810
- reassignOwnedStmt(_p?: ReassignOwnedStmt): {
1811
- ReassignOwnedStmt: ReassignOwnedStmt;
1812
- } {
1537
+ reassignOwnedStmt(_p?: ReassignOwnedStmt["ReassignOwnedStmt"]): ReassignOwnedStmt {
1813
1538
  return {
1814
1539
  ReassignOwnedStmt: {
1815
1540
  roles: _p?.roles,
@@ -1817,9 +1542,7 @@ export default {
1817
1542
  }
1818
1543
  };
1819
1544
  },
1820
- compositeTypeStmt(_p?: CompositeTypeStmt): {
1821
- CompositeTypeStmt: CompositeTypeStmt;
1822
- } {
1545
+ compositeTypeStmt(_p?: CompositeTypeStmt["CompositeTypeStmt"]): CompositeTypeStmt {
1823
1546
  return {
1824
1547
  CompositeTypeStmt: {
1825
1548
  typevar: _p?.typevar,
@@ -1827,9 +1550,7 @@ export default {
1827
1550
  }
1828
1551
  };
1829
1552
  },
1830
- createEnumStmt(_p?: CreateEnumStmt): {
1831
- CreateEnumStmt: CreateEnumStmt;
1832
- } {
1553
+ createEnumStmt(_p?: CreateEnumStmt["CreateEnumStmt"]): CreateEnumStmt {
1833
1554
  return {
1834
1555
  CreateEnumStmt: {
1835
1556
  typeName: _p?.typeName,
@@ -1837,9 +1558,7 @@ export default {
1837
1558
  }
1838
1559
  };
1839
1560
  },
1840
- createRangeStmt(_p?: CreateRangeStmt): {
1841
- CreateRangeStmt: CreateRangeStmt;
1842
- } {
1561
+ createRangeStmt(_p?: CreateRangeStmt["CreateRangeStmt"]): CreateRangeStmt {
1843
1562
  return {
1844
1563
  CreateRangeStmt: {
1845
1564
  typeName: _p?.typeName,
@@ -1847,9 +1566,7 @@ export default {
1847
1566
  }
1848
1567
  };
1849
1568
  },
1850
- alterEnumStmt(_p?: AlterEnumStmt): {
1851
- AlterEnumStmt: AlterEnumStmt;
1852
- } {
1569
+ alterEnumStmt(_p?: AlterEnumStmt["AlterEnumStmt"]): AlterEnumStmt {
1853
1570
  return {
1854
1571
  AlterEnumStmt: {
1855
1572
  typeName: _p?.typeName,
@@ -1861,9 +1578,7 @@ export default {
1861
1578
  }
1862
1579
  };
1863
1580
  },
1864
- altertsDictionaryStmt(_p?: AlterTSDictionaryStmt): {
1865
- AlterTSDictionaryStmt: AlterTSDictionaryStmt;
1866
- } {
1581
+ altertsDictionaryStmt(_p?: AlterTSDictionaryStmt["AlterTSDictionaryStmt"]): AlterTSDictionaryStmt {
1867
1582
  return {
1868
1583
  AlterTSDictionaryStmt: {
1869
1584
  dictname: _p?.dictname,
@@ -1871,9 +1586,7 @@ export default {
1871
1586
  }
1872
1587
  };
1873
1588
  },
1874
- altertsConfigurationStmt(_p?: AlterTSConfigurationStmt): {
1875
- AlterTSConfigurationStmt: AlterTSConfigurationStmt;
1876
- } {
1589
+ altertsConfigurationStmt(_p?: AlterTSConfigurationStmt["AlterTSConfigurationStmt"]): AlterTSConfigurationStmt {
1877
1590
  return {
1878
1591
  AlterTSConfigurationStmt: {
1879
1592
  kind: _p?.kind,
@@ -1886,9 +1599,7 @@ export default {
1886
1599
  }
1887
1600
  };
1888
1601
  },
1889
- createFdwStmt(_p?: CreateFdwStmt): {
1890
- CreateFdwStmt: CreateFdwStmt;
1891
- } {
1602
+ createFdwStmt(_p?: CreateFdwStmt["CreateFdwStmt"]): CreateFdwStmt {
1892
1603
  return {
1893
1604
  CreateFdwStmt: {
1894
1605
  fdwname: _p?.fdwname,
@@ -1897,9 +1608,7 @@ export default {
1897
1608
  }
1898
1609
  };
1899
1610
  },
1900
- alterFdwStmt(_p?: AlterFdwStmt): {
1901
- AlterFdwStmt: AlterFdwStmt;
1902
- } {
1611
+ alterFdwStmt(_p?: AlterFdwStmt["AlterFdwStmt"]): AlterFdwStmt {
1903
1612
  return {
1904
1613
  AlterFdwStmt: {
1905
1614
  fdwname: _p?.fdwname,
@@ -1908,9 +1617,7 @@ export default {
1908
1617
  }
1909
1618
  };
1910
1619
  },
1911
- createForeignServerStmt(_p?: CreateForeignServerStmt): {
1912
- CreateForeignServerStmt: CreateForeignServerStmt;
1913
- } {
1620
+ createForeignServerStmt(_p?: CreateForeignServerStmt["CreateForeignServerStmt"]): CreateForeignServerStmt {
1914
1621
  return {
1915
1622
  CreateForeignServerStmt: {
1916
1623
  servername: _p?.servername,
@@ -1922,9 +1629,7 @@ export default {
1922
1629
  }
1923
1630
  };
1924
1631
  },
1925
- alterForeignServerStmt(_p?: AlterForeignServerStmt): {
1926
- AlterForeignServerStmt: AlterForeignServerStmt;
1927
- } {
1632
+ alterForeignServerStmt(_p?: AlterForeignServerStmt["AlterForeignServerStmt"]): AlterForeignServerStmt {
1928
1633
  return {
1929
1634
  AlterForeignServerStmt: {
1930
1635
  servername: _p?.servername,
@@ -1934,9 +1639,7 @@ export default {
1934
1639
  }
1935
1640
  };
1936
1641
  },
1937
- createUserMappingStmt(_p?: CreateUserMappingStmt): {
1938
- CreateUserMappingStmt: CreateUserMappingStmt;
1939
- } {
1642
+ createUserMappingStmt(_p?: CreateUserMappingStmt["CreateUserMappingStmt"]): CreateUserMappingStmt {
1940
1643
  return {
1941
1644
  CreateUserMappingStmt: {
1942
1645
  user: _p?.user,
@@ -1946,9 +1649,7 @@ export default {
1946
1649
  }
1947
1650
  };
1948
1651
  },
1949
- alterUserMappingStmt(_p?: AlterUserMappingStmt): {
1950
- AlterUserMappingStmt: AlterUserMappingStmt;
1951
- } {
1652
+ alterUserMappingStmt(_p?: AlterUserMappingStmt["AlterUserMappingStmt"]): AlterUserMappingStmt {
1952
1653
  return {
1953
1654
  AlterUserMappingStmt: {
1954
1655
  user: _p?.user,
@@ -1957,9 +1658,7 @@ export default {
1957
1658
  }
1958
1659
  };
1959
1660
  },
1960
- dropUserMappingStmt(_p?: DropUserMappingStmt): {
1961
- DropUserMappingStmt: DropUserMappingStmt;
1962
- } {
1661
+ dropUserMappingStmt(_p?: DropUserMappingStmt["DropUserMappingStmt"]): DropUserMappingStmt {
1963
1662
  return {
1964
1663
  DropUserMappingStmt: {
1965
1664
  user: _p?.user,
@@ -1968,9 +1667,7 @@ export default {
1968
1667
  }
1969
1668
  };
1970
1669
  },
1971
- alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt): {
1972
- AlterTableSpaceOptionsStmt: AlterTableSpaceOptionsStmt;
1973
- } {
1670
+ alterTableSpaceOptionsStmt(_p?: AlterTableSpaceOptionsStmt["AlterTableSpaceOptionsStmt"]): AlterTableSpaceOptionsStmt {
1974
1671
  return {
1975
1672
  AlterTableSpaceOptionsStmt: {
1976
1673
  tablespacename: _p?.tablespacename,
@@ -1979,9 +1676,7 @@ export default {
1979
1676
  }
1980
1677
  };
1981
1678
  },
1982
- alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt): {
1983
- AlterTableMoveAllStmt: AlterTableMoveAllStmt;
1984
- } {
1679
+ alterTableMoveAllStmt(_p?: AlterTableMoveAllStmt["AlterTableMoveAllStmt"]): AlterTableMoveAllStmt {
1985
1680
  return {
1986
1681
  AlterTableMoveAllStmt: {
1987
1682
  orig_tablespacename: _p?.orig_tablespacename,
@@ -1992,9 +1687,7 @@ export default {
1992
1687
  }
1993
1688
  };
1994
1689
  },
1995
- secLabelStmt(_p?: SecLabelStmt): {
1996
- SecLabelStmt: SecLabelStmt;
1997
- } {
1690
+ secLabelStmt(_p?: SecLabelStmt["SecLabelStmt"]): SecLabelStmt {
1998
1691
  return {
1999
1692
  SecLabelStmt: {
2000
1693
  objtype: _p?.objtype,
@@ -2004,9 +1697,7 @@ export default {
2004
1697
  }
2005
1698
  };
2006
1699
  },
2007
- createForeignTableStmt(_p?: CreateForeignTableStmt): {
2008
- CreateForeignTableStmt: CreateForeignTableStmt;
2009
- } {
1700
+ createForeignTableStmt(_p?: CreateForeignTableStmt["CreateForeignTableStmt"]): CreateForeignTableStmt {
2010
1701
  return {
2011
1702
  CreateForeignTableStmt: {
2012
1703
  base: _p?.base,
@@ -2015,9 +1706,7 @@ export default {
2015
1706
  }
2016
1707
  };
2017
1708
  },
2018
- importForeignSchemaStmt(_p?: ImportForeignSchemaStmt): {
2019
- ImportForeignSchemaStmt: ImportForeignSchemaStmt;
2020
- } {
1709
+ importForeignSchemaStmt(_p?: ImportForeignSchemaStmt["ImportForeignSchemaStmt"]): ImportForeignSchemaStmt {
2021
1710
  return {
2022
1711
  ImportForeignSchemaStmt: {
2023
1712
  server_name: _p?.server_name,
@@ -2029,9 +1718,7 @@ export default {
2029
1718
  }
2030
1719
  };
2031
1720
  },
2032
- createExtensionStmt(_p?: CreateExtensionStmt): {
2033
- CreateExtensionStmt: CreateExtensionStmt;
2034
- } {
1721
+ createExtensionStmt(_p?: CreateExtensionStmt["CreateExtensionStmt"]): CreateExtensionStmt {
2035
1722
  return {
2036
1723
  CreateExtensionStmt: {
2037
1724
  extname: _p?.extname,
@@ -2040,9 +1727,7 @@ export default {
2040
1727
  }
2041
1728
  };
2042
1729
  },
2043
- alterExtensionStmt(_p?: AlterExtensionStmt): {
2044
- AlterExtensionStmt: AlterExtensionStmt;
2045
- } {
1730
+ alterExtensionStmt(_p?: AlterExtensionStmt["AlterExtensionStmt"]): AlterExtensionStmt {
2046
1731
  return {
2047
1732
  AlterExtensionStmt: {
2048
1733
  extname: _p?.extname,
@@ -2050,9 +1735,7 @@ export default {
2050
1735
  }
2051
1736
  };
2052
1737
  },
2053
- alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt): {
2054
- AlterExtensionContentsStmt: AlterExtensionContentsStmt;
2055
- } {
1738
+ alterExtensionContentsStmt(_p?: AlterExtensionContentsStmt["AlterExtensionContentsStmt"]): AlterExtensionContentsStmt {
2056
1739
  return {
2057
1740
  AlterExtensionContentsStmt: {
2058
1741
  extname: _p?.extname,
@@ -2062,9 +1745,7 @@ export default {
2062
1745
  }
2063
1746
  };
2064
1747
  },
2065
- createEventTrigStmt(_p?: CreateEventTrigStmt): {
2066
- CreateEventTrigStmt: CreateEventTrigStmt;
2067
- } {
1748
+ createEventTrigStmt(_p?: CreateEventTrigStmt["CreateEventTrigStmt"]): CreateEventTrigStmt {
2068
1749
  return {
2069
1750
  CreateEventTrigStmt: {
2070
1751
  trigname: _p?.trigname,
@@ -2074,9 +1755,7 @@ export default {
2074
1755
  }
2075
1756
  };
2076
1757
  },
2077
- alterEventTrigStmt(_p?: AlterEventTrigStmt): {
2078
- AlterEventTrigStmt: AlterEventTrigStmt;
2079
- } {
1758
+ alterEventTrigStmt(_p?: AlterEventTrigStmt["AlterEventTrigStmt"]): AlterEventTrigStmt {
2080
1759
  return {
2081
1760
  AlterEventTrigStmt: {
2082
1761
  trigname: _p?.trigname,
@@ -2084,9 +1763,7 @@ export default {
2084
1763
  }
2085
1764
  };
2086
1765
  },
2087
- refreshMatViewStmt(_p?: RefreshMatViewStmt): {
2088
- RefreshMatViewStmt: RefreshMatViewStmt;
2089
- } {
1766
+ refreshMatViewStmt(_p?: RefreshMatViewStmt["RefreshMatViewStmt"]): RefreshMatViewStmt {
2090
1767
  return {
2091
1768
  RefreshMatViewStmt: {
2092
1769
  concurrent: _p?.concurrent,
@@ -2095,9 +1772,7 @@ export default {
2095
1772
  }
2096
1773
  };
2097
1774
  },
2098
- replicaIdentityStmt(_p?: ReplicaIdentityStmt): {
2099
- ReplicaIdentityStmt: ReplicaIdentityStmt;
2100
- } {
1775
+ replicaIdentityStmt(_p?: ReplicaIdentityStmt["ReplicaIdentityStmt"]): ReplicaIdentityStmt {
2101
1776
  return {
2102
1777
  ReplicaIdentityStmt: {
2103
1778
  identity_type: _p?.identity_type,
@@ -2105,18 +1780,14 @@ export default {
2105
1780
  }
2106
1781
  };
2107
1782
  },
2108
- alterSystemStmt(_p?: AlterSystemStmt): {
2109
- AlterSystemStmt: AlterSystemStmt;
2110
- } {
1783
+ alterSystemStmt(_p?: AlterSystemStmt["AlterSystemStmt"]): AlterSystemStmt {
2111
1784
  return {
2112
1785
  AlterSystemStmt: {
2113
1786
  setstmt: _p?.setstmt
2114
1787
  }
2115
1788
  };
2116
1789
  },
2117
- createPolicyStmt(_p?: CreatePolicyStmt): {
2118
- CreatePolicyStmt: CreatePolicyStmt;
2119
- } {
1790
+ createPolicyStmt(_p?: CreatePolicyStmt["CreatePolicyStmt"]): CreatePolicyStmt {
2120
1791
  return {
2121
1792
  CreatePolicyStmt: {
2122
1793
  policy_name: _p?.policy_name,
@@ -2129,9 +1800,7 @@ export default {
2129
1800
  }
2130
1801
  };
2131
1802
  },
2132
- alterPolicyStmt(_p?: AlterPolicyStmt): {
2133
- AlterPolicyStmt: AlterPolicyStmt;
2134
- } {
1803
+ alterPolicyStmt(_p?: AlterPolicyStmt["AlterPolicyStmt"]): AlterPolicyStmt {
2135
1804
  return {
2136
1805
  AlterPolicyStmt: {
2137
1806
  policy_name: _p?.policy_name,
@@ -2142,9 +1811,7 @@ export default {
2142
1811
  }
2143
1812
  };
2144
1813
  },
2145
- createTransformStmt(_p?: CreateTransformStmt): {
2146
- CreateTransformStmt: CreateTransformStmt;
2147
- } {
1814
+ createTransformStmt(_p?: CreateTransformStmt["CreateTransformStmt"]): CreateTransformStmt {
2148
1815
  return {
2149
1816
  CreateTransformStmt: {
2150
1817
  replace: _p?.replace,
@@ -2155,9 +1822,7 @@ export default {
2155
1822
  }
2156
1823
  };
2157
1824
  },
2158
- createAmStmt(_p?: CreateAmStmt): {
2159
- CreateAmStmt: CreateAmStmt;
2160
- } {
1825
+ createAmStmt(_p?: CreateAmStmt["CreateAmStmt"]): CreateAmStmt {
2161
1826
  return {
2162
1827
  CreateAmStmt: {
2163
1828
  amname: _p?.amname,
@@ -2166,9 +1831,7 @@ export default {
2166
1831
  }
2167
1832
  };
2168
1833
  },
2169
- createPublicationStmt(_p?: CreatePublicationStmt): {
2170
- CreatePublicationStmt: CreatePublicationStmt;
2171
- } {
1834
+ createPublicationStmt(_p?: CreatePublicationStmt["CreatePublicationStmt"]): CreatePublicationStmt {
2172
1835
  return {
2173
1836
  CreatePublicationStmt: {
2174
1837
  pubname: _p?.pubname,
@@ -2178,9 +1841,7 @@ export default {
2178
1841
  }
2179
1842
  };
2180
1843
  },
2181
- alterPublicationStmt(_p?: AlterPublicationStmt): {
2182
- AlterPublicationStmt: AlterPublicationStmt;
2183
- } {
1844
+ alterPublicationStmt(_p?: AlterPublicationStmt["AlterPublicationStmt"]): AlterPublicationStmt {
2184
1845
  return {
2185
1846
  AlterPublicationStmt: {
2186
1847
  pubname: _p?.pubname,
@@ -2191,9 +1852,7 @@ export default {
2191
1852
  }
2192
1853
  };
2193
1854
  },
2194
- createSubscriptionStmt(_p?: CreateSubscriptionStmt): {
2195
- CreateSubscriptionStmt: CreateSubscriptionStmt;
2196
- } {
1855
+ createSubscriptionStmt(_p?: CreateSubscriptionStmt["CreateSubscriptionStmt"]): CreateSubscriptionStmt {
2197
1856
  return {
2198
1857
  CreateSubscriptionStmt: {
2199
1858
  subname: _p?.subname,
@@ -2203,9 +1862,7 @@ export default {
2203
1862
  }
2204
1863
  };
2205
1864
  },
2206
- alterSubscriptionStmt(_p?: AlterSubscriptionStmt): {
2207
- AlterSubscriptionStmt: AlterSubscriptionStmt;
2208
- } {
1865
+ alterSubscriptionStmt(_p?: AlterSubscriptionStmt["AlterSubscriptionStmt"]): AlterSubscriptionStmt {
2209
1866
  return {
2210
1867
  AlterSubscriptionStmt: {
2211
1868
  kind: _p?.kind,
@@ -2216,9 +1873,7 @@ export default {
2216
1873
  }
2217
1874
  };
2218
1875
  },
2219
- dropSubscriptionStmt(_p?: DropSubscriptionStmt): {
2220
- DropSubscriptionStmt: DropSubscriptionStmt;
2221
- } {
1876
+ dropSubscriptionStmt(_p?: DropSubscriptionStmt["DropSubscriptionStmt"]): DropSubscriptionStmt {
2222
1877
  return {
2223
1878
  DropSubscriptionStmt: {
2224
1879
  subname: _p?.subname,
@@ -2227,9 +1882,7 @@ export default {
2227
1882
  }
2228
1883
  };
2229
1884
  },
2230
- createStatsStmt(_p?: CreateStatsStmt): {
2231
- CreateStatsStmt: CreateStatsStmt;
2232
- } {
1885
+ createStatsStmt(_p?: CreateStatsStmt["CreateStatsStmt"]): CreateStatsStmt {
2233
1886
  return {
2234
1887
  CreateStatsStmt: {
2235
1888
  defnames: _p?.defnames,
@@ -2241,18 +1894,14 @@ export default {
2241
1894
  }
2242
1895
  };
2243
1896
  },
2244
- alterCollationStmt(_p?: AlterCollationStmt): {
2245
- AlterCollationStmt: AlterCollationStmt;
2246
- } {
1897
+ alterCollationStmt(_p?: AlterCollationStmt["AlterCollationStmt"]): AlterCollationStmt {
2247
1898
  return {
2248
1899
  AlterCollationStmt: {
2249
1900
  collname: _p?.collname
2250
1901
  }
2251
1902
  };
2252
1903
  },
2253
- callStmt(_p?: CallStmt): {
2254
- CallStmt: CallStmt;
2255
- } {
1904
+ callStmt(_p?: CallStmt["CallStmt"]): CallStmt {
2256
1905
  return {
2257
1906
  CallStmt: {
2258
1907
  funccall: _p?.funccall,
@@ -2260,9 +1909,7 @@ export default {
2260
1909
  }
2261
1910
  };
2262
1911
  },
2263
- alterStatsStmt(_p?: AlterStatsStmt): {
2264
- AlterStatsStmt: AlterStatsStmt;
2265
- } {
1912
+ alterStatsStmt(_p?: AlterStatsStmt["AlterStatsStmt"]): AlterStatsStmt {
2266
1913
  return {
2267
1914
  AlterStatsStmt: {
2268
1915
  defnames: _p?.defnames,
@@ -2271,9 +1918,7 @@ export default {
2271
1918
  }
2272
1919
  };
2273
1920
  },
2274
- aExpr(_p?: A_Expr): {
2275
- A_Expr: A_Expr;
2276
- } {
1921
+ aExpr(_p?: A_Expr["A_Expr"]): A_Expr {
2277
1922
  return {
2278
1923
  A_Expr: {
2279
1924
  kind: _p?.kind,
@@ -2284,9 +1929,7 @@ export default {
2284
1929
  }
2285
1930
  };
2286
1931
  },
2287
- columnRef(_p?: ColumnRef): {
2288
- ColumnRef: ColumnRef;
2289
- } {
1932
+ columnRef(_p?: ColumnRef["ColumnRef"]): ColumnRef {
2290
1933
  return {
2291
1934
  ColumnRef: {
2292
1935
  fields: _p?.fields,
@@ -2294,9 +1937,7 @@ export default {
2294
1937
  }
2295
1938
  };
2296
1939
  },
2297
- paramRef(_p?: ParamRef): {
2298
- ParamRef: ParamRef;
2299
- } {
1940
+ paramRef(_p?: ParamRef["ParamRef"]): ParamRef {
2300
1941
  return {
2301
1942
  ParamRef: {
2302
1943
  number: _p?.number,
@@ -2304,9 +1945,7 @@ export default {
2304
1945
  }
2305
1946
  };
2306
1947
  },
2307
- aConst(_p?: A_Const): {
2308
- A_Const: A_Const;
2309
- } {
1948
+ aConst(_p?: A_Const["A_Const"]): A_Const {
2310
1949
  return {
2311
1950
  A_Const: {
2312
1951
  val: _p?.val,
@@ -2314,9 +1953,7 @@ export default {
2314
1953
  }
2315
1954
  };
2316
1955
  },
2317
- funcCall(_p?: FuncCall): {
2318
- FuncCall: FuncCall;
2319
- } {
1956
+ funcCall(_p?: FuncCall["FuncCall"]): FuncCall {
2320
1957
  return {
2321
1958
  FuncCall: {
2322
1959
  funcname: _p?.funcname,
@@ -2332,16 +1969,12 @@ export default {
2332
1969
  }
2333
1970
  };
2334
1971
  },
2335
- aStar(_p?: A_Star): {
2336
- A_Star: A_Star;
2337
- } {
1972
+ aStar(_p?: A_Star["A_Star"]): A_Star {
2338
1973
  return {
2339
1974
  A_Star: {}
2340
1975
  };
2341
1976
  },
2342
- aIndices(_p?: A_Indices): {
2343
- A_Indices: A_Indices;
2344
- } {
1977
+ aIndices(_p?: A_Indices["A_Indices"]): A_Indices {
2345
1978
  return {
2346
1979
  A_Indices: {
2347
1980
  is_slice: _p?.is_slice,
@@ -2350,9 +1983,7 @@ export default {
2350
1983
  }
2351
1984
  };
2352
1985
  },
2353
- aIndirection(_p?: A_Indirection): {
2354
- A_Indirection: A_Indirection;
2355
- } {
1986
+ aIndirection(_p?: A_Indirection["A_Indirection"]): A_Indirection {
2356
1987
  return {
2357
1988
  A_Indirection: {
2358
1989
  arg: _p?.arg,
@@ -2360,9 +1991,7 @@ export default {
2360
1991
  }
2361
1992
  };
2362
1993
  },
2363
- aArrayExpr(_p?: A_ArrayExpr): {
2364
- A_ArrayExpr: A_ArrayExpr;
2365
- } {
1994
+ aArrayExpr(_p?: A_ArrayExpr["A_ArrayExpr"]): A_ArrayExpr {
2366
1995
  return {
2367
1996
  A_ArrayExpr: {
2368
1997
  elements: _p?.elements,
@@ -2370,9 +1999,7 @@ export default {
2370
1999
  }
2371
2000
  };
2372
2001
  },
2373
- resTarget(_p?: ResTarget): {
2374
- ResTarget: ResTarget;
2375
- } {
2002
+ resTarget(_p?: ResTarget["ResTarget"]): ResTarget {
2376
2003
  return {
2377
2004
  ResTarget: {
2378
2005
  name: _p?.name,
@@ -2382,9 +2009,7 @@ export default {
2382
2009
  }
2383
2010
  };
2384
2011
  },
2385
- multiAssignRef(_p?: MultiAssignRef): {
2386
- MultiAssignRef: MultiAssignRef;
2387
- } {
2012
+ multiAssignRef(_p?: MultiAssignRef["MultiAssignRef"]): MultiAssignRef {
2388
2013
  return {
2389
2014
  MultiAssignRef: {
2390
2015
  source: _p?.source,
@@ -2393,9 +2018,7 @@ export default {
2393
2018
  }
2394
2019
  };
2395
2020
  },
2396
- typeCast(_p?: TypeCast): {
2397
- TypeCast: TypeCast;
2398
- } {
2021
+ typeCast(_p?: TypeCast["TypeCast"]): TypeCast {
2399
2022
  return {
2400
2023
  TypeCast: {
2401
2024
  arg: _p?.arg,
@@ -2404,9 +2027,7 @@ export default {
2404
2027
  }
2405
2028
  };
2406
2029
  },
2407
- collateClause(_p?: CollateClause): {
2408
- CollateClause: CollateClause;
2409
- } {
2030
+ collateClause(_p?: CollateClause["CollateClause"]): CollateClause {
2410
2031
  return {
2411
2032
  CollateClause: {
2412
2033
  arg: _p?.arg,
@@ -2415,9 +2036,7 @@ export default {
2415
2036
  }
2416
2037
  };
2417
2038
  },
2418
- sortBy(_p?: SortBy): {
2419
- SortBy: SortBy;
2420
- } {
2039
+ sortBy(_p?: SortBy["SortBy"]): SortBy {
2421
2040
  return {
2422
2041
  SortBy: {
2423
2042
  node: _p?.node,
@@ -2428,9 +2047,7 @@ export default {
2428
2047
  }
2429
2048
  };
2430
2049
  },
2431
- windowDef(_p?: WindowDef): {
2432
- WindowDef: WindowDef;
2433
- } {
2050
+ windowDef(_p?: WindowDef["WindowDef"]): WindowDef {
2434
2051
  return {
2435
2052
  WindowDef: {
2436
2053
  name: _p?.name,
@@ -2444,9 +2061,7 @@ export default {
2444
2061
  }
2445
2062
  };
2446
2063
  },
2447
- rangeSubselect(_p?: RangeSubselect): {
2448
- RangeSubselect: RangeSubselect;
2449
- } {
2064
+ rangeSubselect(_p?: RangeSubselect["RangeSubselect"]): RangeSubselect {
2450
2065
  return {
2451
2066
  RangeSubselect: {
2452
2067
  lateral: _p?.lateral,
@@ -2455,9 +2070,7 @@ export default {
2455
2070
  }
2456
2071
  };
2457
2072
  },
2458
- rangeFunction(_p?: RangeFunction): {
2459
- RangeFunction: RangeFunction;
2460
- } {
2073
+ rangeFunction(_p?: RangeFunction["RangeFunction"]): RangeFunction {
2461
2074
  return {
2462
2075
  RangeFunction: {
2463
2076
  lateral: _p?.lateral,
@@ -2469,9 +2082,7 @@ export default {
2469
2082
  }
2470
2083
  };
2471
2084
  },
2472
- rangeTableSample(_p?: RangeTableSample): {
2473
- RangeTableSample: RangeTableSample;
2474
- } {
2085
+ rangeTableSample(_p?: RangeTableSample["RangeTableSample"]): RangeTableSample {
2475
2086
  return {
2476
2087
  RangeTableSample: {
2477
2088
  relation: _p?.relation,
@@ -2482,9 +2093,7 @@ export default {
2482
2093
  }
2483
2094
  };
2484
2095
  },
2485
- rangeTableFunc(_p?: RangeTableFunc): {
2486
- RangeTableFunc: RangeTableFunc;
2487
- } {
2096
+ rangeTableFunc(_p?: RangeTableFunc["RangeTableFunc"]): RangeTableFunc {
2488
2097
  return {
2489
2098
  RangeTableFunc: {
2490
2099
  lateral: _p?.lateral,
@@ -2497,9 +2106,7 @@ export default {
2497
2106
  }
2498
2107
  };
2499
2108
  },
2500
- rangeTableFuncCol(_p?: RangeTableFuncCol): {
2501
- RangeTableFuncCol: RangeTableFuncCol;
2502
- } {
2109
+ rangeTableFuncCol(_p?: RangeTableFuncCol["RangeTableFuncCol"]): RangeTableFuncCol {
2503
2110
  return {
2504
2111
  RangeTableFuncCol: {
2505
2112
  colname: _p?.colname,
@@ -2524,9 +2131,7 @@ export default {
2524
2131
  location: _p?.location
2525
2132
  };
2526
2133
  },
2527
- columnDef(_p?: ColumnDef): {
2528
- ColumnDef: ColumnDef;
2529
- } {
2134
+ columnDef(_p?: ColumnDef["ColumnDef"]): ColumnDef {
2530
2135
  return {
2531
2136
  ColumnDef: {
2532
2137
  colname: _p?.colname,
@@ -2549,9 +2154,7 @@ export default {
2549
2154
  }
2550
2155
  };
2551
2156
  },
2552
- indexElem(_p?: IndexElem): {
2553
- IndexElem: IndexElem;
2554
- } {
2157
+ indexElem(_p?: IndexElem["IndexElem"]): IndexElem {
2555
2158
  return {
2556
2159
  IndexElem: {
2557
2160
  name: _p?.name,
@@ -2565,9 +2168,7 @@ export default {
2565
2168
  }
2566
2169
  };
2567
2170
  },
2568
- constraint(_p?: Constraint): {
2569
- Constraint: Constraint;
2570
- } {
2171
+ constraint(_p?: Constraint["Constraint"]): Constraint {
2571
2172
  return {
2572
2173
  Constraint: {
2573
2174
  contype: _p?.contype,
@@ -2601,9 +2202,7 @@ export default {
2601
2202
  }
2602
2203
  };
2603
2204
  },
2604
- defElem(_p?: DefElem): {
2605
- DefElem: DefElem;
2606
- } {
2205
+ defElem(_p?: DefElem["DefElem"]): DefElem {
2607
2206
  return {
2608
2207
  DefElem: {
2609
2208
  defnamespace: _p?.defnamespace,
@@ -2614,9 +2213,7 @@ export default {
2614
2213
  }
2615
2214
  };
2616
2215
  },
2617
- rangeTblEntry(_p?: RangeTblEntry): {
2618
- RangeTblEntry: RangeTblEntry;
2619
- } {
2216
+ rangeTblEntry(_p?: RangeTblEntry["RangeTblEntry"]): RangeTblEntry {
2620
2217
  return {
2621
2218
  RangeTblEntry: {
2622
2219
  rtekind: _p?.rtekind,
@@ -2658,9 +2255,7 @@ export default {
2658
2255
  }
2659
2256
  };
2660
2257
  },
2661
- rangeTblFunction(_p?: RangeTblFunction): {
2662
- RangeTblFunction: RangeTblFunction;
2663
- } {
2258
+ rangeTblFunction(_p?: RangeTblFunction["RangeTblFunction"]): RangeTblFunction {
2664
2259
  return {
2665
2260
  RangeTblFunction: {
2666
2261
  funcexpr: _p?.funcexpr,
@@ -2673,9 +2268,7 @@ export default {
2673
2268
  }
2674
2269
  };
2675
2270
  },
2676
- tableSampleClause(_p?: TableSampleClause): {
2677
- TableSampleClause: TableSampleClause;
2678
- } {
2271
+ tableSampleClause(_p?: TableSampleClause["TableSampleClause"]): TableSampleClause {
2679
2272
  return {
2680
2273
  TableSampleClause: {
2681
2274
  tsmhandler: _p?.tsmhandler,
@@ -2684,9 +2277,7 @@ export default {
2684
2277
  }
2685
2278
  };
2686
2279
  },
2687
- withCheckOption(_p?: WithCheckOption): {
2688
- WithCheckOption: WithCheckOption;
2689
- } {
2280
+ withCheckOption(_p?: WithCheckOption["WithCheckOption"]): WithCheckOption {
2690
2281
  return {
2691
2282
  WithCheckOption: {
2692
2283
  kind: _p?.kind,
@@ -2697,9 +2288,7 @@ export default {
2697
2288
  }
2698
2289
  };
2699
2290
  },
2700
- sortGroupClause(_p?: SortGroupClause): {
2701
- SortGroupClause: SortGroupClause;
2702
- } {
2291
+ sortGroupClause(_p?: SortGroupClause["SortGroupClause"]): SortGroupClause {
2703
2292
  return {
2704
2293
  SortGroupClause: {
2705
2294
  tleSortGroupRef: _p?.tleSortGroupRef,
@@ -2710,9 +2299,7 @@ export default {
2710
2299
  }
2711
2300
  };
2712
2301
  },
2713
- groupingSet(_p?: GroupingSet): {
2714
- GroupingSet: GroupingSet;
2715
- } {
2302
+ groupingSet(_p?: GroupingSet["GroupingSet"]): GroupingSet {
2716
2303
  return {
2717
2304
  GroupingSet: {
2718
2305
  kind: _p?.kind,
@@ -2721,9 +2308,7 @@ export default {
2721
2308
  }
2722
2309
  };
2723
2310
  },
2724
- windowClause(_p?: WindowClause): {
2725
- WindowClause: WindowClause;
2726
- } {
2311
+ windowClause(_p?: WindowClause["WindowClause"]): WindowClause {
2727
2312
  return {
2728
2313
  WindowClause: {
2729
2314
  name: _p?.name,
@@ -2743,9 +2328,7 @@ export default {
2743
2328
  }
2744
2329
  };
2745
2330
  },
2746
- objectWithArgs(_p?: ObjectWithArgs): {
2747
- ObjectWithArgs: ObjectWithArgs;
2748
- } {
2331
+ objectWithArgs(_p?: ObjectWithArgs["ObjectWithArgs"]): ObjectWithArgs {
2749
2332
  return {
2750
2333
  ObjectWithArgs: {
2751
2334
  objname: _p?.objname,
@@ -2754,9 +2337,7 @@ export default {
2754
2337
  }
2755
2338
  };
2756
2339
  },
2757
- accessPriv(_p?: AccessPriv): {
2758
- AccessPriv: AccessPriv;
2759
- } {
2340
+ accessPriv(_p?: AccessPriv["AccessPriv"]): AccessPriv {
2760
2341
  return {
2761
2342
  AccessPriv: {
2762
2343
  priv_name: _p?.priv_name,
@@ -2764,9 +2345,7 @@ export default {
2764
2345
  }
2765
2346
  };
2766
2347
  },
2767
- createOpClassItem(_p?: CreateOpClassItem): {
2768
- CreateOpClassItem: CreateOpClassItem;
2769
- } {
2348
+ createOpClassItem(_p?: CreateOpClassItem["CreateOpClassItem"]): CreateOpClassItem {
2770
2349
  return {
2771
2350
  CreateOpClassItem: {
2772
2351
  itemtype: _p?.itemtype,
@@ -2778,9 +2357,7 @@ export default {
2778
2357
  }
2779
2358
  };
2780
2359
  },
2781
- tableLikeClause(_p?: TableLikeClause): {
2782
- TableLikeClause: TableLikeClause;
2783
- } {
2360
+ tableLikeClause(_p?: TableLikeClause["TableLikeClause"]): TableLikeClause {
2784
2361
  return {
2785
2362
  TableLikeClause: {
2786
2363
  relation: _p?.relation,
@@ -2789,9 +2366,7 @@ export default {
2789
2366
  }
2790
2367
  };
2791
2368
  },
2792
- functionParameter(_p?: FunctionParameter): {
2793
- FunctionParameter: FunctionParameter;
2794
- } {
2369
+ functionParameter(_p?: FunctionParameter["FunctionParameter"]): FunctionParameter {
2795
2370
  return {
2796
2371
  FunctionParameter: {
2797
2372
  name: _p?.name,
@@ -2801,9 +2376,7 @@ export default {
2801
2376
  }
2802
2377
  };
2803
2378
  },
2804
- lockingClause(_p?: LockingClause): {
2805
- LockingClause: LockingClause;
2806
- } {
2379
+ lockingClause(_p?: LockingClause["LockingClause"]): LockingClause {
2807
2380
  return {
2808
2381
  LockingClause: {
2809
2382
  lockedRels: _p?.lockedRels,
@@ -2812,9 +2385,7 @@ export default {
2812
2385
  }
2813
2386
  };
2814
2387
  },
2815
- rowMarkClause(_p?: RowMarkClause): {
2816
- RowMarkClause: RowMarkClause;
2817
- } {
2388
+ rowMarkClause(_p?: RowMarkClause["RowMarkClause"]): RowMarkClause {
2818
2389
  return {
2819
2390
  RowMarkClause: {
2820
2391
  rti: _p?.rti,
@@ -2824,9 +2395,7 @@ export default {
2824
2395
  }
2825
2396
  };
2826
2397
  },
2827
- xmlSerialize(_p?: XmlSerialize): {
2828
- XmlSerialize: XmlSerialize;
2829
- } {
2398
+ xmlSerialize(_p?: XmlSerialize["XmlSerialize"]): XmlSerialize {
2830
2399
  return {
2831
2400
  XmlSerialize: {
2832
2401
  xmloption: _p?.xmloption,
@@ -2836,9 +2405,7 @@ export default {
2836
2405
  }
2837
2406
  };
2838
2407
  },
2839
- withClause(_p?: WithClause): {
2840
- WithClause: WithClause;
2841
- } {
2408
+ withClause(_p?: WithClause["WithClause"]): WithClause {
2842
2409
  return {
2843
2410
  WithClause: {
2844
2411
  ctes: _p?.ctes,
@@ -2847,9 +2414,7 @@ export default {
2847
2414
  }
2848
2415
  };
2849
2416
  },
2850
- inferClause(_p?: InferClause): {
2851
- InferClause: InferClause;
2852
- } {
2417
+ inferClause(_p?: InferClause["InferClause"]): InferClause {
2853
2418
  return {
2854
2419
  InferClause: {
2855
2420
  indexElems: _p?.indexElems,
@@ -2859,9 +2424,7 @@ export default {
2859
2424
  }
2860
2425
  };
2861
2426
  },
2862
- onConflictClause(_p?: OnConflictClause): {
2863
- OnConflictClause: OnConflictClause;
2864
- } {
2427
+ onConflictClause(_p?: OnConflictClause["OnConflictClause"]): OnConflictClause {
2865
2428
  return {
2866
2429
  OnConflictClause: {
2867
2430
  action: _p?.action,
@@ -2872,9 +2435,7 @@ export default {
2872
2435
  }
2873
2436
  };
2874
2437
  },
2875
- commonTableExpr(_p?: CommonTableExpr): {
2876
- CommonTableExpr: CommonTableExpr;
2877
- } {
2438
+ commonTableExpr(_p?: CommonTableExpr["CommonTableExpr"]): CommonTableExpr {
2878
2439
  return {
2879
2440
  CommonTableExpr: {
2880
2441
  ctename: _p?.ctename,
@@ -2891,9 +2452,7 @@ export default {
2891
2452
  }
2892
2453
  };
2893
2454
  },
2894
- roleSpec(_p?: RoleSpec): {
2895
- RoleSpec: RoleSpec;
2896
- } {
2455
+ roleSpec(_p?: RoleSpec["RoleSpec"]): RoleSpec {
2897
2456
  return {
2898
2457
  RoleSpec: {
2899
2458
  roletype: _p?.roletype,
@@ -2902,9 +2461,7 @@ export default {
2902
2461
  }
2903
2462
  };
2904
2463
  },
2905
- triggerTransition(_p?: TriggerTransition): {
2906
- TriggerTransition: TriggerTransition;
2907
- } {
2464
+ triggerTransition(_p?: TriggerTransition["TriggerTransition"]): TriggerTransition {
2908
2465
  return {
2909
2466
  TriggerTransition: {
2910
2467
  name: _p?.name,
@@ -2913,9 +2470,7 @@ export default {
2913
2470
  }
2914
2471
  };
2915
2472
  },
2916
- partitionElem(_p?: PartitionElem): {
2917
- PartitionElem: PartitionElem;
2918
- } {
2473
+ partitionElem(_p?: PartitionElem["PartitionElem"]): PartitionElem {
2919
2474
  return {
2920
2475
  PartitionElem: {
2921
2476
  name: _p?.name,
@@ -2926,9 +2481,7 @@ export default {
2926
2481
  }
2927
2482
  };
2928
2483
  },
2929
- partitionSpec(_p?: PartitionSpec): {
2930
- PartitionSpec: PartitionSpec;
2931
- } {
2484
+ partitionSpec(_p?: PartitionSpec["PartitionSpec"]): PartitionSpec {
2932
2485
  return {
2933
2486
  PartitionSpec: {
2934
2487
  strategy: _p?.strategy,
@@ -2937,9 +2490,7 @@ export default {
2937
2490
  }
2938
2491
  };
2939
2492
  },
2940
- partitionBoundSpec(_p?: PartitionBoundSpec): {
2941
- PartitionBoundSpec: PartitionBoundSpec;
2942
- } {
2493
+ partitionBoundSpec(_p?: PartitionBoundSpec["PartitionBoundSpec"]): PartitionBoundSpec {
2943
2494
  return {
2944
2495
  PartitionBoundSpec: {
2945
2496
  strategy: _p?.strategy,
@@ -2953,9 +2504,7 @@ export default {
2953
2504
  }
2954
2505
  };
2955
2506
  },
2956
- partitionRangeDatum(_p?: PartitionRangeDatum): {
2957
- PartitionRangeDatum: PartitionRangeDatum;
2958
- } {
2507
+ partitionRangeDatum(_p?: PartitionRangeDatum["PartitionRangeDatum"]): PartitionRangeDatum {
2959
2508
  return {
2960
2509
  PartitionRangeDatum: {
2961
2510
  kind: _p?.kind,
@@ -2964,9 +2513,7 @@ export default {
2964
2513
  }
2965
2514
  };
2966
2515
  },
2967
- partitionCmd(_p?: PartitionCmd): {
2968
- PartitionCmd: PartitionCmd;
2969
- } {
2516
+ partitionCmd(_p?: PartitionCmd["PartitionCmd"]): PartitionCmd {
2970
2517
  return {
2971
2518
  PartitionCmd: {
2972
2519
  name: _p?.name,
@@ -2974,9 +2521,7 @@ export default {
2974
2521
  }
2975
2522
  };
2976
2523
  },
2977
- vacuumRelation(_p?: VacuumRelation): {
2978
- VacuumRelation: VacuumRelation;
2979
- } {
2524
+ vacuumRelation(_p?: VacuumRelation["VacuumRelation"]): VacuumRelation {
2980
2525
  return {
2981
2526
  VacuumRelation: {
2982
2527
  relation: _p?.relation,
@@ -2985,9 +2530,7 @@ export default {
2985
2530
  }
2986
2531
  };
2987
2532
  },
2988
- inlineCodeBlock(_p?: InlineCodeBlock): {
2989
- InlineCodeBlock: InlineCodeBlock;
2990
- } {
2533
+ inlineCodeBlock(_p?: InlineCodeBlock["InlineCodeBlock"]): InlineCodeBlock {
2991
2534
  return {
2992
2535
  InlineCodeBlock: {
2993
2536
  source_text: _p?.source_text,
@@ -2997,18 +2540,14 @@ export default {
2997
2540
  }
2998
2541
  };
2999
2542
  },
3000
- callContext(_p?: CallContext): {
3001
- CallContext: CallContext;
3002
- } {
2543
+ callContext(_p?: CallContext["CallContext"]): CallContext {
3003
2544
  return {
3004
2545
  CallContext: {
3005
2546
  atomic: _p?.atomic
3006
2547
  }
3007
2548
  };
3008
2549
  },
3009
- scanToken(_p?: ScanToken): {
3010
- ScanToken: ScanToken;
3011
- } {
2550
+ scanToken(_p?: ScanToken["ScanToken"]): ScanToken {
3012
2551
  return {
3013
2552
  ScanToken: {
3014
2553
  start: _p?.start,