dt-sql-parser 4.0.0-beta.4.4 → 4.0.0-beta.4.6

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.
Files changed (40) hide show
  1. package/README.md +16 -16
  2. package/dist/lib/flinksql/FlinkSqlLexer.d.ts +542 -408
  3. package/dist/lib/flinksql/FlinkSqlLexer.js +3474 -2368
  4. package/dist/lib/flinksql/FlinkSqlLexer.js.map +1 -1
  5. package/dist/lib/flinksql/FlinkSqlParser.d.ts +634 -776
  6. package/dist/lib/flinksql/FlinkSqlParser.js +3847 -4211
  7. package/dist/lib/flinksql/FlinkSqlParser.js.map +1 -1
  8. package/dist/lib/flinksql/FlinkSqlParserListener.d.ts +13 -22
  9. package/dist/lib/flinksql/FlinkSqlParserVisitor.d.ts +8 -14
  10. package/dist/lib/pgsql/PostgreSQLLexer.d.ts +561 -538
  11. package/dist/lib/pgsql/PostgreSQLLexer.js +3529 -3356
  12. package/dist/lib/pgsql/PostgreSQLLexer.js.map +1 -1
  13. package/dist/lib/pgsql/PostgreSQLParser.d.ts +4756 -3799
  14. package/dist/lib/pgsql/PostgreSQLParser.js +61779 -53458
  15. package/dist/lib/pgsql/PostgreSQLParser.js.map +1 -1
  16. package/dist/lib/pgsql/PostgreSQLParserListener.d.ts +757 -141
  17. package/dist/lib/pgsql/PostgreSQLParserListener.js +1 -1
  18. package/dist/lib/pgsql/PostgreSQLParserListener.js.map +1 -1
  19. package/dist/lib/pgsql/PostgreSQLParserVisitor.d.ts +481 -89
  20. package/dist/lib/pgsql/PostgreSQLParserVisitor.js +1 -1
  21. package/dist/lib/pgsql/PostgreSQLParserVisitor.js.map +1 -1
  22. package/dist/lib/spark/SparkSqlLexer.d.ts +2 -2
  23. package/dist/lib/spark/SparkSqlLexer.js +6 -6
  24. package/dist/lib/spark/SparkSqlLexer.js.map +1 -1
  25. package/dist/lib/spark/SparkSqlParser.d.ts +10 -10
  26. package/dist/lib/spark/SparkSqlParser.js +20 -20
  27. package/dist/lib/spark/SparkSqlParser.js.map +1 -1
  28. package/dist/parser/common/basic-parser-types.d.ts +5 -1
  29. package/dist/parser/common/basic-parser-types.js +4 -0
  30. package/dist/parser/common/basic-parser-types.js.map +1 -1
  31. package/dist/parser/pgsql.d.ts +9 -2
  32. package/dist/parser/pgsql.js +107 -5
  33. package/dist/parser/pgsql.js.map +1 -1
  34. package/package.json +7 -5
  35. package/dist/lib/pgsql/PostgreSQLLexerBase.d.ts +0 -16
  36. package/dist/lib/pgsql/PostgreSQLLexerBase.js +0 -56
  37. package/dist/lib/pgsql/PostgreSQLLexerBase.js.map +0 -1
  38. package/dist/lib/pgsql/PostgreSQLParserBase.d.ts +0 -11
  39. package/dist/lib/pgsql/PostgreSQLParserBase.js +0 -96
  40. package/dist/lib/pgsql/PostgreSQLParserBase.js.map +0 -1
@@ -25,12 +25,15 @@ import { CreateuserstmtContext } from "./PostgreSQLParser";
25
25
  import { AlterrolestmtContext } from "./PostgreSQLParser";
26
26
  import { Opt_in_databaseContext } from "./PostgreSQLParser";
27
27
  import { AlterrolesetstmtContext } from "./PostgreSQLParser";
28
- import { DroprolestmtContext } from "./PostgreSQLParser";
28
+ import { AlterroutinestmtContext } from "./PostgreSQLParser";
29
+ import { Alter_routine_cluaseContext } from "./PostgreSQLParser";
30
+ import { Routine_action_listContext } from "./PostgreSQLParser";
31
+ import { Routine_actionContext } from "./PostgreSQLParser";
29
32
  import { CreategroupstmtContext } from "./PostgreSQLParser";
30
33
  import { AltergroupstmtContext } from "./PostgreSQLParser";
31
34
  import { Add_dropContext } from "./PostgreSQLParser";
32
35
  import { CreateschemastmtContext } from "./PostgreSQLParser";
33
- import { OptschemanameContext } from "./PostgreSQLParser";
36
+ import { Schema_name_createContext } from "./PostgreSQLParser";
34
37
  import { OptschemaeltlistContext } from "./PostgreSQLParser";
35
38
  import { Schema_stmtContext } from "./PostgreSQLParser";
36
39
  import { VariablesetstmtContext } from "./PostgreSQLParser";
@@ -58,6 +61,10 @@ import { CheckpointstmtContext } from "./PostgreSQLParser";
58
61
  import { DiscardstmtContext } from "./PostgreSQLParser";
59
62
  import { AltertablestmtContext } from "./PostgreSQLParser";
60
63
  import { Alter_table_cmdsContext } from "./PostgreSQLParser";
64
+ import { Partition_bound_specContext } from "./PostgreSQLParser";
65
+ import { Partition_bound_cluaseContext } from "./PostgreSQLParser";
66
+ import { Partition_bound_chooseContext } from "./PostgreSQLParser";
67
+ import { Partition_with_cluaseContext } from "./PostgreSQLParser";
61
68
  import { Partition_cmdContext } from "./PostgreSQLParser";
62
69
  import { Index_partition_cmdContext } from "./PostgreSQLParser";
63
70
  import { Alter_table_cmdContext } from "./PostgreSQLParser";
@@ -96,6 +103,7 @@ import { Copy_generic_opt_arg_listContext } from "./PostgreSQLParser";
96
103
  import { Copy_generic_opt_arg_list_itemContext } from "./PostgreSQLParser";
97
104
  import { CreatestmtContext } from "./PostgreSQLParser";
98
105
  import { OpttempContext } from "./PostgreSQLParser";
106
+ import { Table_column_listContext } from "./PostgreSQLParser";
99
107
  import { OpttableelementlistContext } from "./PostgreSQLParser";
100
108
  import { OpttypedtableelementlistContext } from "./PostgreSQLParser";
101
109
  import { TableelementlistContext } from "./PostgreSQLParser";
@@ -103,12 +111,16 @@ import { TypedtableelementlistContext } from "./PostgreSQLParser";
103
111
  import { TableelementContext } from "./PostgreSQLParser";
104
112
  import { TypedtableelementContext } from "./PostgreSQLParser";
105
113
  import { ColumnDefContext } from "./PostgreSQLParser";
114
+ import { CompressionCluaseContext } from "./PostgreSQLParser";
115
+ import { StorageCluaseContext } from "./PostgreSQLParser";
106
116
  import { ColumnOptionsContext } from "./PostgreSQLParser";
107
117
  import { ColquallistContext } from "./PostgreSQLParser";
108
118
  import { ColconstraintContext } from "./PostgreSQLParser";
109
119
  import { ColconstraintelemContext } from "./PostgreSQLParser";
120
+ import { Nulls_distinctContext } from "./PostgreSQLParser";
110
121
  import { Generated_whenContext } from "./PostgreSQLParser";
111
- import { ConstraintattrContext } from "./PostgreSQLParser";
122
+ import { Deferrable_triggerContext } from "./PostgreSQLParser";
123
+ import { Initially_triggerContext } from "./PostgreSQLParser";
112
124
  import { TablelikeclauseContext } from "./PostgreSQLParser";
113
125
  import { TablelikeoptionlistContext } from "./PostgreSQLParser";
114
126
  import { TablelikeoptionContext } from "./PostgreSQLParser";
@@ -136,6 +148,7 @@ import { Table_access_method_clauseContext } from "./PostgreSQLParser";
136
148
  import { OptwithContext } from "./PostgreSQLParser";
137
149
  import { OncommitoptionContext } from "./PostgreSQLParser";
138
150
  import { OpttablespaceContext } from "./PostgreSQLParser";
151
+ import { Index_paramenters_createContext } from "./PostgreSQLParser";
139
152
  import { OptconstablespaceContext } from "./PostgreSQLParser";
140
153
  import { ExistingindexContext } from "./PostgreSQLParser";
141
154
  import { CreatestatsstmtContext } from "./PostgreSQLParser";
@@ -165,7 +178,6 @@ import { Opt_validatorContext } from "./PostgreSQLParser";
165
178
  import { Opt_proceduralContext } from "./PostgreSQLParser";
166
179
  import { CreatetablespacestmtContext } from "./PostgreSQLParser";
167
180
  import { OpttablespaceownerContext } from "./PostgreSQLParser";
168
- import { DroptablespacestmtContext } from "./PostgreSQLParser";
169
181
  import { CreateextensionstmtContext } from "./PostgreSQLParser";
170
182
  import { Create_extension_opt_listContext } from "./PostgreSQLParser";
171
183
  import { Create_extension_opt_itemContext } from "./PostgreSQLParser";
@@ -197,10 +209,12 @@ import { Import_qualification_typeContext } from "./PostgreSQLParser";
197
209
  import { Import_qualificationContext } from "./PostgreSQLParser";
198
210
  import { CreateusermappingstmtContext } from "./PostgreSQLParser";
199
211
  import { Auth_identContext } from "./PostgreSQLParser";
200
- import { DropusermappingstmtContext } from "./PostgreSQLParser";
201
212
  import { AlterusermappingstmtContext } from "./PostgreSQLParser";
202
213
  import { CreatepolicystmtContext } from "./PostgreSQLParser";
203
214
  import { AlterpolicystmtContext } from "./PostgreSQLParser";
215
+ import { AlterprocedurestmtContext } from "./PostgreSQLParser";
216
+ import { Procedure_cluaseContext } from "./PostgreSQLParser";
217
+ import { Procedure_actionContext } from "./PostgreSQLParser";
204
218
  import { RowsecurityoptionalexprContext } from "./PostgreSQLParser";
205
219
  import { RowsecurityoptionalwithcheckContext } from "./PostgreSQLParser";
206
220
  import { RowsecuritydefaulttoroleContext } from "./PostgreSQLParser";
@@ -212,6 +226,8 @@ import { CreateamstmtContext } from "./PostgreSQLParser";
212
226
  import { Am_typeContext } from "./PostgreSQLParser";
213
227
  import { CreatetrigstmtContext } from "./PostgreSQLParser";
214
228
  import { TriggeractiontimeContext } from "./PostgreSQLParser";
229
+ import { ForeachrowContext } from "./PostgreSQLParser";
230
+ import { RoworstatmentContext } from "./PostgreSQLParser";
215
231
  import { TriggereventsContext } from "./PostgreSQLParser";
216
232
  import { TriggeroneeventContext } from "./PostgreSQLParser";
217
233
  import { TriggerreferencingContext } from "./PostgreSQLParser";
@@ -260,14 +276,11 @@ import { CreateopfamilystmtContext } from "./PostgreSQLParser";
260
276
  import { AlteropfamilystmtContext } from "./PostgreSQLParser";
261
277
  import { Opclass_drop_listContext } from "./PostgreSQLParser";
262
278
  import { Opclass_dropContext } from "./PostgreSQLParser";
263
- import { DropopclassstmtContext } from "./PostgreSQLParser";
264
- import { DropopfamilystmtContext } from "./PostgreSQLParser";
265
- import { DropownedstmtContext } from "./PostgreSQLParser";
266
279
  import { ReassignownedstmtContext } from "./PostgreSQLParser";
267
280
  import { DropstmtContext } from "./PostgreSQLParser";
281
+ import { View_nameListContext } from "./PostgreSQLParser";
268
282
  import { Object_type_any_nameContext } from "./PostgreSQLParser";
269
283
  import { Object_type_nameContext } from "./PostgreSQLParser";
270
- import { Drop_type_nameContext } from "./PostgreSQLParser";
271
284
  import { Object_type_name_on_any_nameContext } from "./PostgreSQLParser";
272
285
  import { Any_name_listContext } from "./PostgreSQLParser";
273
286
  import { Any_nameContext } from "./PostgreSQLParser";
@@ -287,6 +300,8 @@ import { Opt_from_inContext } from "./PostgreSQLParser";
287
300
  import { GrantstmtContext } from "./PostgreSQLParser";
288
301
  import { RevokestmtContext } from "./PostgreSQLParser";
289
302
  import { PrivilegesContext } from "./PostgreSQLParser";
303
+ import { BeforeprivilegeselectlistContext } from "./PostgreSQLParser";
304
+ import { BeforeprivilegeselectContext } from "./PostgreSQLParser";
290
305
  import { Privilege_listContext } from "./PostgreSQLParser";
291
306
  import { PrivilegeContext } from "./PostgreSQLParser";
292
307
  import { Privilege_targetContext } from "./PostgreSQLParser";
@@ -317,9 +332,14 @@ import { Opt_classContext } from "./PostgreSQLParser";
317
332
  import { Opt_asc_descContext } from "./PostgreSQLParser";
318
333
  import { Opt_nulls_orderContext } from "./PostgreSQLParser";
319
334
  import { CreatefunctionstmtContext } from "./PostgreSQLParser";
335
+ import { AttrilistContext } from "./PostgreSQLParser";
320
336
  import { Opt_or_replaceContext } from "./PostgreSQLParser";
321
337
  import { Func_argsContext } from "./PostgreSQLParser";
322
338
  import { Func_args_listContext } from "./PostgreSQLParser";
339
+ import { Routine_with_argtypes_listContext } from "./PostgreSQLParser";
340
+ import { Routine_with_argtypesContext } from "./PostgreSQLParser";
341
+ import { Procedure_with_argtypes_listContext } from "./PostgreSQLParser";
342
+ import { Procedure_with_argtypesContext } from "./PostgreSQLParser";
323
343
  import { Function_with_argtypes_listContext } from "./PostgreSQLParser";
324
344
  import { Function_with_argtypesContext } from "./PostgreSQLParser";
325
345
  import { Func_args_with_defaultsContext } from "./PostgreSQLParser";
@@ -338,12 +358,12 @@ import { Aggregate_with_argtypes_listContext } from "./PostgreSQLParser";
338
358
  import { Createfunc_opt_listContext } from "./PostgreSQLParser";
339
359
  import { Common_func_opt_itemContext } from "./PostgreSQLParser";
340
360
  import { Createfunc_opt_itemContext } from "./PostgreSQLParser";
341
- import { Func_asContext } from "./PostgreSQLParser";
342
361
  import { Transform_type_listContext } from "./PostgreSQLParser";
343
362
  import { Opt_definitionContext } from "./PostgreSQLParser";
344
363
  import { Table_func_columnContext } from "./PostgreSQLParser";
345
364
  import { Table_func_column_listContext } from "./PostgreSQLParser";
346
365
  import { AlterfunctionstmtContext } from "./PostgreSQLParser";
366
+ import { AlterFunctionTypeClauseContext } from "./PostgreSQLParser";
347
367
  import { Alterfunc_opt_listContext } from "./PostgreSQLParser";
348
368
  import { Opt_restrictContext } from "./PostgreSQLParser";
349
369
  import { RemovefuncstmtContext } from "./PostgreSQLParser";
@@ -358,11 +378,9 @@ import { Dostmt_opt_listContext } from "./PostgreSQLParser";
358
378
  import { Dostmt_opt_itemContext } from "./PostgreSQLParser";
359
379
  import { CreatecaststmtContext } from "./PostgreSQLParser";
360
380
  import { Cast_contextContext } from "./PostgreSQLParser";
361
- import { DropcaststmtContext } from "./PostgreSQLParser";
362
381
  import { Opt_if_existsContext } from "./PostgreSQLParser";
363
382
  import { CreatetransformstmtContext } from "./PostgreSQLParser";
364
383
  import { Transform_element_listContext } from "./PostgreSQLParser";
365
- import { DroptransformstmtContext } from "./PostgreSQLParser";
366
384
  import { ReindexstmtContext } from "./PostgreSQLParser";
367
385
  import { Reindex_target_typeContext } from "./PostgreSQLParser";
368
386
  import { Reindex_target_multitableContext } from "./PostgreSQLParser";
@@ -389,7 +407,6 @@ import { CreatesubscriptionstmtContext } from "./PostgreSQLParser";
389
407
  import { Publication_name_listContext } from "./PostgreSQLParser";
390
408
  import { Publication_name_itemContext } from "./PostgreSQLParser";
391
409
  import { AltersubscriptionstmtContext } from "./PostgreSQLParser";
392
- import { DropsubscriptionstmtContext } from "./PostgreSQLParser";
393
410
  import { RulestmtContext } from "./PostgreSQLParser";
394
411
  import { RuleactionlistContext } from "./PostgreSQLParser";
395
412
  import { RuleactionmultiContext } from "./PostgreSQLParser";
@@ -418,7 +435,6 @@ import { Createdb_opt_nameContext } from "./PostgreSQLParser";
418
435
  import { Opt_equalContext } from "./PostgreSQLParser";
419
436
  import { AlterdatabasestmtContext } from "./PostgreSQLParser";
420
437
  import { AlterdatabasesetstmtContext } from "./PostgreSQLParser";
421
- import { DropdbstmtContext } from "./PostgreSQLParser";
422
438
  import { Drop_option_listContext } from "./PostgreSQLParser";
423
439
  import { Drop_optionContext } from "./PostgreSQLParser";
424
440
  import { AltercollationstmtContext } from "./PostgreSQLParser";
@@ -431,6 +447,7 @@ import { AltertsconfigurationstmtContext } from "./PostgreSQLParser";
431
447
  import { Any_withContext } from "./PostgreSQLParser";
432
448
  import { CreateconversionstmtContext } from "./PostgreSQLParser";
433
449
  import { ClusterstmtContext } from "./PostgreSQLParser";
450
+ import { Opt_verbose_listContext } from "./PostgreSQLParser";
434
451
  import { Cluster_index_specificationContext } from "./PostgreSQLParser";
435
452
  import { VacuumstmtContext } from "./PostgreSQLParser";
436
453
  import { AnalyzestmtContext } from "./PostgreSQLParser";
@@ -494,6 +511,8 @@ import { Set_operator_with_all_or_distinctContext } from "./PostgreSQLParser";
494
511
  import { With_clauseContext } from "./PostgreSQLParser";
495
512
  import { Cte_listContext } from "./PostgreSQLParser";
496
513
  import { Common_table_exprContext } from "./PostgreSQLParser";
514
+ import { Search_cluaseContext } from "./PostgreSQLParser";
515
+ import { Cycle_cluaseContext } from "./PostgreSQLParser";
497
516
  import { Opt_materializedContext } from "./PostgreSQLParser";
498
517
  import { Opt_with_clauseContext } from "./PostgreSQLParser";
499
518
  import { Into_clauseContext } from "./PostgreSQLParser";
@@ -541,7 +560,9 @@ import { Func_alias_clauseContext } from "./PostgreSQLParser";
541
560
  import { Join_typeContext } from "./PostgreSQLParser";
542
561
  import { Join_qualContext } from "./PostgreSQLParser";
543
562
  import { Relation_exprContext } from "./PostgreSQLParser";
563
+ import { Publication_relation_exprContext } from "./PostgreSQLParser";
544
564
  import { Relation_expr_listContext } from "./PostgreSQLParser";
565
+ import { Publication_relation_expr_listContext } from "./PostgreSQLParser";
545
566
  import { Relation_expr_opt_aliasContext } from "./PostgreSQLParser";
546
567
  import { Tablesample_clauseContext } from "./PostgreSQLParser";
547
568
  import { Opt_repeatable_clauseContext } from "./PostgreSQLParser";
@@ -643,6 +664,8 @@ import { Qual_opContext } from "./PostgreSQLParser";
643
664
  import { Qual_all_opContext } from "./PostgreSQLParser";
644
665
  import { Subquery_OpContext } from "./PostgreSQLParser";
645
666
  import { Expr_listContext } from "./PostgreSQLParser";
667
+ import { Column_expr_listContext } from "./PostgreSQLParser";
668
+ import { Column_exprContext } from "./PostgreSQLParser";
646
669
  import { Func_arg_listContext } from "./PostgreSQLParser";
647
670
  import { Func_arg_exprContext } from "./PostgreSQLParser";
648
671
  import { Type_listContext } from "./PostgreSQLParser";
@@ -670,12 +693,32 @@ import { Opt_target_listContext } from "./PostgreSQLParser";
670
693
  import { Target_listContext } from "./PostgreSQLParser";
671
694
  import { Target_elContext } from "./PostgreSQLParser";
672
695
  import { Qualified_name_listContext } from "./PostgreSQLParser";
696
+ import { Table_name_listContext } from "./PostgreSQLParser";
697
+ import { Schema_name_listContext } from "./PostgreSQLParser";
698
+ import { Database_nameListContext } from "./PostgreSQLParser";
699
+ import { Procedure_name_listContext } from "./PostgreSQLParser";
700
+ import { Tablespace_name_createContext } from "./PostgreSQLParser";
701
+ import { Tablespace_nameContext } from "./PostgreSQLParser";
702
+ import { Table_name_createContext } from "./PostgreSQLParser";
703
+ import { Table_nameContext } from "./PostgreSQLParser";
704
+ import { View_name_createContext } from "./PostgreSQLParser";
705
+ import { View_nameContext } from "./PostgreSQLParser";
673
706
  import { Qualified_nameContext } from "./PostgreSQLParser";
707
+ import { Tablespace_name_listContext } from "./PostgreSQLParser";
674
708
  import { Name_listContext } from "./PostgreSQLParser";
709
+ import { Database_name_createContext } from "./PostgreSQLParser";
710
+ import { Database_nameContext } from "./PostgreSQLParser";
711
+ import { Schema_nameContext } from "./PostgreSQLParser";
712
+ import { Routine_name_createContext } from "./PostgreSQLParser";
713
+ import { Routine_nameContext } from "./PostgreSQLParser";
714
+ import { Procedure_nameContext } from "./PostgreSQLParser";
715
+ import { Procedure_name_createContext } from "./PostgreSQLParser";
675
716
  import { NameContext } from "./PostgreSQLParser";
676
717
  import { Attr_nameContext } from "./PostgreSQLParser";
677
718
  import { File_nameContext } from "./PostgreSQLParser";
678
- import { Func_nameContext } from "./PostgreSQLParser";
719
+ import { Function_name_createContext } from "./PostgreSQLParser";
720
+ import { Function_nameContext } from "./PostgreSQLParser";
721
+ import { Usual_nameContext } from "./PostgreSQLParser";
679
722
  import { AexprconstContext } from "./PostgreSQLParser";
680
723
  import { XconstContext } from "./PostgreSQLParser";
681
724
  import { BconstContext } from "./PostgreSQLParser";
@@ -685,11 +728,16 @@ import { SconstContext } from "./PostgreSQLParser";
685
728
  import { AnysconstContext } from "./PostgreSQLParser";
686
729
  import { Opt_uescapeContext } from "./PostgreSQLParser";
687
730
  import { SignediconstContext } from "./PostgreSQLParser";
731
+ import { GroupnameContext } from "./PostgreSQLParser";
688
732
  import { RoleidContext } from "./PostgreSQLParser";
689
733
  import { RolespecContext } from "./PostgreSQLParser";
690
734
  import { Role_listContext } from "./PostgreSQLParser";
691
735
  import { ColidContext } from "./PostgreSQLParser";
736
+ import { Index_method_choicesContext } from "./PostgreSQLParser";
737
+ import { Exclude_elementContext } from "./PostgreSQLParser";
738
+ import { Index_paramentersContext } from "./PostgreSQLParser";
692
739
  import { Type_function_nameContext } from "./PostgreSQLParser";
740
+ import { Type_usual_nameContext } from "./PostgreSQLParser";
693
741
  import { NonreservedwordContext } from "./PostgreSQLParser";
694
742
  import { CollabelContext } from "./PostgreSQLParser";
695
743
  import { IdentifierContext } from "./PostgreSQLParser";
@@ -787,6 +835,14 @@ import { Into_targetContext } from "./PostgreSQLParser";
787
835
  import { Opt_cursor_fromContext } from "./PostgreSQLParser";
788
836
  import { Opt_fetch_directionContext } from "./PostgreSQLParser";
789
837
  import { Stmt_moveContext } from "./PostgreSQLParser";
838
+ import { MergestmtContext } from "./PostgreSQLParser";
839
+ import { Data_sourceContext } from "./PostgreSQLParser";
840
+ import { Join_conditionContext } from "./PostgreSQLParser";
841
+ import { Merge_when_clauseContext } from "./PostgreSQLParser";
842
+ import { Merge_insertContext } from "./PostgreSQLParser";
843
+ import { Merge_updateContext } from "./PostgreSQLParser";
844
+ import { ExprofdefaultlistContext } from "./PostgreSQLParser";
845
+ import { ExprofdefaultContext } from "./PostgreSQLParser";
790
846
  import { Stmt_closeContext } from "./PostgreSQLParser";
791
847
  import { Stmt_nullContext } from "./PostgreSQLParser";
792
848
  import { Stmt_commitContext } from "./PostgreSQLParser";
@@ -987,11 +1043,29 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
987
1043
  */
988
1044
  visitAlterrolesetstmt?: (ctx: AlterrolesetstmtContext) => Result;
989
1045
  /**
990
- * Visit a parse tree produced by `PostgreSQLParser.droprolestmt`.
1046
+ * Visit a parse tree produced by `PostgreSQLParser.alterroutinestmt`.
991
1047
  * @param ctx the parse tree
992
1048
  * @return the visitor result
993
1049
  */
994
- visitDroprolestmt?: (ctx: DroprolestmtContext) => Result;
1050
+ visitAlterroutinestmt?: (ctx: AlterroutinestmtContext) => Result;
1051
+ /**
1052
+ * Visit a parse tree produced by `PostgreSQLParser.alter_routine_cluase`.
1053
+ * @param ctx the parse tree
1054
+ * @return the visitor result
1055
+ */
1056
+ visitAlter_routine_cluase?: (ctx: Alter_routine_cluaseContext) => Result;
1057
+ /**
1058
+ * Visit a parse tree produced by `PostgreSQLParser.routine_action_list`.
1059
+ * @param ctx the parse tree
1060
+ * @return the visitor result
1061
+ */
1062
+ visitRoutine_action_list?: (ctx: Routine_action_listContext) => Result;
1063
+ /**
1064
+ * Visit a parse tree produced by `PostgreSQLParser.routine_action`.
1065
+ * @param ctx the parse tree
1066
+ * @return the visitor result
1067
+ */
1068
+ visitRoutine_action?: (ctx: Routine_actionContext) => Result;
995
1069
  /**
996
1070
  * Visit a parse tree produced by `PostgreSQLParser.creategroupstmt`.
997
1071
  * @param ctx the parse tree
@@ -1017,11 +1091,11 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
1017
1091
  */
1018
1092
  visitCreateschemastmt?: (ctx: CreateschemastmtContext) => Result;
1019
1093
  /**
1020
- * Visit a parse tree produced by `PostgreSQLParser.optschemaname`.
1094
+ * Visit a parse tree produced by `PostgreSQLParser.schema_name_create`.
1021
1095
  * @param ctx the parse tree
1022
1096
  * @return the visitor result
1023
1097
  */
1024
- visitOptschemaname?: (ctx: OptschemanameContext) => Result;
1098
+ visitSchema_name_create?: (ctx: Schema_name_createContext) => Result;
1025
1099
  /**
1026
1100
  * Visit a parse tree produced by `PostgreSQLParser.optschemaeltlist`.
1027
1101
  * @param ctx the parse tree
@@ -1184,6 +1258,30 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
1184
1258
  * @return the visitor result
1185
1259
  */
1186
1260
  visitAlter_table_cmds?: (ctx: Alter_table_cmdsContext) => Result;
1261
+ /**
1262
+ * Visit a parse tree produced by `PostgreSQLParser.partition_bound_spec`.
1263
+ * @param ctx the parse tree
1264
+ * @return the visitor result
1265
+ */
1266
+ visitPartition_bound_spec?: (ctx: Partition_bound_specContext) => Result;
1267
+ /**
1268
+ * Visit a parse tree produced by `PostgreSQLParser.partition_bound_cluase`.
1269
+ * @param ctx the parse tree
1270
+ * @return the visitor result
1271
+ */
1272
+ visitPartition_bound_cluase?: (ctx: Partition_bound_cluaseContext) => Result;
1273
+ /**
1274
+ * Visit a parse tree produced by `PostgreSQLParser.partition_bound_choose`.
1275
+ * @param ctx the parse tree
1276
+ * @return the visitor result
1277
+ */
1278
+ visitPartition_bound_choose?: (ctx: Partition_bound_chooseContext) => Result;
1279
+ /**
1280
+ * Visit a parse tree produced by `PostgreSQLParser.partition_with_cluase`.
1281
+ * @param ctx the parse tree
1282
+ * @return the visitor result
1283
+ */
1284
+ visitPartition_with_cluase?: (ctx: Partition_with_cluaseContext) => Result;
1187
1285
  /**
1188
1286
  * Visit a parse tree produced by `PostgreSQLParser.partition_cmd`.
1189
1287
  * @param ctx the parse tree
@@ -1412,6 +1510,12 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
1412
1510
  * @return the visitor result
1413
1511
  */
1414
1512
  visitOpttemp?: (ctx: OpttempContext) => Result;
1513
+ /**
1514
+ * Visit a parse tree produced by `PostgreSQLParser.table_column_list`.
1515
+ * @param ctx the parse tree
1516
+ * @return the visitor result
1517
+ */
1518
+ visitTable_column_list?: (ctx: Table_column_listContext) => Result;
1415
1519
  /**
1416
1520
  * Visit a parse tree produced by `PostgreSQLParser.opttableelementlist`.
1417
1521
  * @param ctx the parse tree
@@ -1454,6 +1558,18 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
1454
1558
  * @return the visitor result
1455
1559
  */
1456
1560
  visitColumnDef?: (ctx: ColumnDefContext) => Result;
1561
+ /**
1562
+ * Visit a parse tree produced by `PostgreSQLParser.compressionCluase`.
1563
+ * @param ctx the parse tree
1564
+ * @return the visitor result
1565
+ */
1566
+ visitCompressionCluase?: (ctx: CompressionCluaseContext) => Result;
1567
+ /**
1568
+ * Visit a parse tree produced by `PostgreSQLParser.storageCluase`.
1569
+ * @param ctx the parse tree
1570
+ * @return the visitor result
1571
+ */
1572
+ visitStorageCluase?: (ctx: StorageCluaseContext) => Result;
1457
1573
  /**
1458
1574
  * Visit a parse tree produced by `PostgreSQLParser.columnOptions`.
1459
1575
  * @param ctx the parse tree
@@ -1478,6 +1594,12 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
1478
1594
  * @return the visitor result
1479
1595
  */
1480
1596
  visitColconstraintelem?: (ctx: ColconstraintelemContext) => Result;
1597
+ /**
1598
+ * Visit a parse tree produced by `PostgreSQLParser.nulls_distinct`.
1599
+ * @param ctx the parse tree
1600
+ * @return the visitor result
1601
+ */
1602
+ visitNulls_distinct?: (ctx: Nulls_distinctContext) => Result;
1481
1603
  /**
1482
1604
  * Visit a parse tree produced by `PostgreSQLParser.generated_when`.
1483
1605
  * @param ctx the parse tree
@@ -1485,11 +1607,17 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
1485
1607
  */
1486
1608
  visitGenerated_when?: (ctx: Generated_whenContext) => Result;
1487
1609
  /**
1488
- * Visit a parse tree produced by `PostgreSQLParser.constraintattr`.
1610
+ * Visit a parse tree produced by `PostgreSQLParser.deferrable_trigger`.
1489
1611
  * @param ctx the parse tree
1490
1612
  * @return the visitor result
1491
1613
  */
1492
- visitConstraintattr?: (ctx: ConstraintattrContext) => Result;
1614
+ visitDeferrable_trigger?: (ctx: Deferrable_triggerContext) => Result;
1615
+ /**
1616
+ * Visit a parse tree produced by `PostgreSQLParser.initially_trigger`.
1617
+ * @param ctx the parse tree
1618
+ * @return the visitor result
1619
+ */
1620
+ visitInitially_trigger?: (ctx: Initially_triggerContext) => Result;
1493
1621
  /**
1494
1622
  * Visit a parse tree produced by `PostgreSQLParser.tablelikeclause`.
1495
1623
  * @param ctx the parse tree
@@ -1652,6 +1780,12 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
1652
1780
  * @return the visitor result
1653
1781
  */
1654
1782
  visitOpttablespace?: (ctx: OpttablespaceContext) => Result;
1783
+ /**
1784
+ * Visit a parse tree produced by `PostgreSQLParser.index_paramenters_create`.
1785
+ * @param ctx the parse tree
1786
+ * @return the visitor result
1787
+ */
1788
+ visitIndex_paramenters_create?: (ctx: Index_paramenters_createContext) => Result;
1655
1789
  /**
1656
1790
  * Visit a parse tree produced by `PostgreSQLParser.optconstablespace`.
1657
1791
  * @param ctx the parse tree
@@ -1826,12 +1960,6 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
1826
1960
  * @return the visitor result
1827
1961
  */
1828
1962
  visitOpttablespaceowner?: (ctx: OpttablespaceownerContext) => Result;
1829
- /**
1830
- * Visit a parse tree produced by `PostgreSQLParser.droptablespacestmt`.
1831
- * @param ctx the parse tree
1832
- * @return the visitor result
1833
- */
1834
- visitDroptablespacestmt?: (ctx: DroptablespacestmtContext) => Result;
1835
1963
  /**
1836
1964
  * Visit a parse tree produced by `PostgreSQLParser.createextensionstmt`.
1837
1965
  * @param ctx the parse tree
@@ -2018,12 +2146,6 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
2018
2146
  * @return the visitor result
2019
2147
  */
2020
2148
  visitAuth_ident?: (ctx: Auth_identContext) => Result;
2021
- /**
2022
- * Visit a parse tree produced by `PostgreSQLParser.dropusermappingstmt`.
2023
- * @param ctx the parse tree
2024
- * @return the visitor result
2025
- */
2026
- visitDropusermappingstmt?: (ctx: DropusermappingstmtContext) => Result;
2027
2149
  /**
2028
2150
  * Visit a parse tree produced by `PostgreSQLParser.alterusermappingstmt`.
2029
2151
  * @param ctx the parse tree
@@ -2042,6 +2164,24 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
2042
2164
  * @return the visitor result
2043
2165
  */
2044
2166
  visitAlterpolicystmt?: (ctx: AlterpolicystmtContext) => Result;
2167
+ /**
2168
+ * Visit a parse tree produced by `PostgreSQLParser.alterprocedurestmt`.
2169
+ * @param ctx the parse tree
2170
+ * @return the visitor result
2171
+ */
2172
+ visitAlterprocedurestmt?: (ctx: AlterprocedurestmtContext) => Result;
2173
+ /**
2174
+ * Visit a parse tree produced by `PostgreSQLParser.procedure_cluase`.
2175
+ * @param ctx the parse tree
2176
+ * @return the visitor result
2177
+ */
2178
+ visitProcedure_cluase?: (ctx: Procedure_cluaseContext) => Result;
2179
+ /**
2180
+ * Visit a parse tree produced by `PostgreSQLParser.procedure_action`.
2181
+ * @param ctx the parse tree
2182
+ * @return the visitor result
2183
+ */
2184
+ visitProcedure_action?: (ctx: Procedure_actionContext) => Result;
2045
2185
  /**
2046
2186
  * Visit a parse tree produced by `PostgreSQLParser.rowsecurityoptionalexpr`.
2047
2187
  * @param ctx the parse tree
@@ -2108,6 +2248,18 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
2108
2248
  * @return the visitor result
2109
2249
  */
2110
2250
  visitTriggeractiontime?: (ctx: TriggeractiontimeContext) => Result;
2251
+ /**
2252
+ * Visit a parse tree produced by `PostgreSQLParser.foreachrow`.
2253
+ * @param ctx the parse tree
2254
+ * @return the visitor result
2255
+ */
2256
+ visitForeachrow?: (ctx: ForeachrowContext) => Result;
2257
+ /**
2258
+ * Visit a parse tree produced by `PostgreSQLParser.roworstatment`.
2259
+ * @param ctx the parse tree
2260
+ * @return the visitor result
2261
+ */
2262
+ visitRoworstatment?: (ctx: RoworstatmentContext) => Result;
2111
2263
  /**
2112
2264
  * Visit a parse tree produced by `PostgreSQLParser.triggerevents`.
2113
2265
  * @param ctx the parse tree
@@ -2396,24 +2548,6 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
2396
2548
  * @return the visitor result
2397
2549
  */
2398
2550
  visitOpclass_drop?: (ctx: Opclass_dropContext) => Result;
2399
- /**
2400
- * Visit a parse tree produced by `PostgreSQLParser.dropopclassstmt`.
2401
- * @param ctx the parse tree
2402
- * @return the visitor result
2403
- */
2404
- visitDropopclassstmt?: (ctx: DropopclassstmtContext) => Result;
2405
- /**
2406
- * Visit a parse tree produced by `PostgreSQLParser.dropopfamilystmt`.
2407
- * @param ctx the parse tree
2408
- * @return the visitor result
2409
- */
2410
- visitDropopfamilystmt?: (ctx: DropopfamilystmtContext) => Result;
2411
- /**
2412
- * Visit a parse tree produced by `PostgreSQLParser.dropownedstmt`.
2413
- * @param ctx the parse tree
2414
- * @return the visitor result
2415
- */
2416
- visitDropownedstmt?: (ctx: DropownedstmtContext) => Result;
2417
2551
  /**
2418
2552
  * Visit a parse tree produced by `PostgreSQLParser.reassignownedstmt`.
2419
2553
  * @param ctx the parse tree
@@ -2427,23 +2561,23 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
2427
2561
  */
2428
2562
  visitDropstmt?: (ctx: DropstmtContext) => Result;
2429
2563
  /**
2430
- * Visit a parse tree produced by `PostgreSQLParser.object_type_any_name`.
2564
+ * Visit a parse tree produced by `PostgreSQLParser.view_nameList`.
2431
2565
  * @param ctx the parse tree
2432
2566
  * @return the visitor result
2433
2567
  */
2434
- visitObject_type_any_name?: (ctx: Object_type_any_nameContext) => Result;
2568
+ visitView_nameList?: (ctx: View_nameListContext) => Result;
2435
2569
  /**
2436
- * Visit a parse tree produced by `PostgreSQLParser.object_type_name`.
2570
+ * Visit a parse tree produced by `PostgreSQLParser.object_type_any_name`.
2437
2571
  * @param ctx the parse tree
2438
2572
  * @return the visitor result
2439
2573
  */
2440
- visitObject_type_name?: (ctx: Object_type_nameContext) => Result;
2574
+ visitObject_type_any_name?: (ctx: Object_type_any_nameContext) => Result;
2441
2575
  /**
2442
- * Visit a parse tree produced by `PostgreSQLParser.drop_type_name`.
2576
+ * Visit a parse tree produced by `PostgreSQLParser.object_type_name`.
2443
2577
  * @param ctx the parse tree
2444
2578
  * @return the visitor result
2445
2579
  */
2446
- visitDrop_type_name?: (ctx: Drop_type_nameContext) => Result;
2580
+ visitObject_type_name?: (ctx: Object_type_nameContext) => Result;
2447
2581
  /**
2448
2582
  * Visit a parse tree produced by `PostgreSQLParser.object_type_name_on_any_name`.
2449
2583
  * @param ctx the parse tree
@@ -2558,6 +2692,18 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
2558
2692
  * @return the visitor result
2559
2693
  */
2560
2694
  visitPrivileges?: (ctx: PrivilegesContext) => Result;
2695
+ /**
2696
+ * Visit a parse tree produced by `PostgreSQLParser.beforeprivilegeselectlist`.
2697
+ * @param ctx the parse tree
2698
+ * @return the visitor result
2699
+ */
2700
+ visitBeforeprivilegeselectlist?: (ctx: BeforeprivilegeselectlistContext) => Result;
2701
+ /**
2702
+ * Visit a parse tree produced by `PostgreSQLParser.beforeprivilegeselect`.
2703
+ * @param ctx the parse tree
2704
+ * @return the visitor result
2705
+ */
2706
+ visitBeforeprivilegeselect?: (ctx: BeforeprivilegeselectContext) => Result;
2561
2707
  /**
2562
2708
  * Visit a parse tree produced by `PostgreSQLParser.privilege_list`.
2563
2709
  * @param ctx the parse tree
@@ -2738,6 +2884,12 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
2738
2884
  * @return the visitor result
2739
2885
  */
2740
2886
  visitCreatefunctionstmt?: (ctx: CreatefunctionstmtContext) => Result;
2887
+ /**
2888
+ * Visit a parse tree produced by `PostgreSQLParser.attrilist`.
2889
+ * @param ctx the parse tree
2890
+ * @return the visitor result
2891
+ */
2892
+ visitAttrilist?: (ctx: AttrilistContext) => Result;
2741
2893
  /**
2742
2894
  * Visit a parse tree produced by `PostgreSQLParser.opt_or_replace`.
2743
2895
  * @param ctx the parse tree
@@ -2756,6 +2908,30 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
2756
2908
  * @return the visitor result
2757
2909
  */
2758
2910
  visitFunc_args_list?: (ctx: Func_args_listContext) => Result;
2911
+ /**
2912
+ * Visit a parse tree produced by `PostgreSQLParser.routine_with_argtypes_list`.
2913
+ * @param ctx the parse tree
2914
+ * @return the visitor result
2915
+ */
2916
+ visitRoutine_with_argtypes_list?: (ctx: Routine_with_argtypes_listContext) => Result;
2917
+ /**
2918
+ * Visit a parse tree produced by `PostgreSQLParser.routine_with_argtypes`.
2919
+ * @param ctx the parse tree
2920
+ * @return the visitor result
2921
+ */
2922
+ visitRoutine_with_argtypes?: (ctx: Routine_with_argtypesContext) => Result;
2923
+ /**
2924
+ * Visit a parse tree produced by `PostgreSQLParser.procedure_with_argtypes_list`.
2925
+ * @param ctx the parse tree
2926
+ * @return the visitor result
2927
+ */
2928
+ visitProcedure_with_argtypes_list?: (ctx: Procedure_with_argtypes_listContext) => Result;
2929
+ /**
2930
+ * Visit a parse tree produced by `PostgreSQLParser.procedure_with_argtypes`.
2931
+ * @param ctx the parse tree
2932
+ * @return the visitor result
2933
+ */
2934
+ visitProcedure_with_argtypes?: (ctx: Procedure_with_argtypesContext) => Result;
2759
2935
  /**
2760
2936
  * Visit a parse tree produced by `PostgreSQLParser.function_with_argtypes_list`.
2761
2937
  * @param ctx the parse tree
@@ -2864,12 +3040,6 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
2864
3040
  * @return the visitor result
2865
3041
  */
2866
3042
  visitCreatefunc_opt_item?: (ctx: Createfunc_opt_itemContext) => Result;
2867
- /**
2868
- * Visit a parse tree produced by `PostgreSQLParser.func_as`.
2869
- * @param ctx the parse tree
2870
- * @return the visitor result
2871
- */
2872
- visitFunc_as?: (ctx: Func_asContext) => Result;
2873
3043
  /**
2874
3044
  * Visit a parse tree produced by `PostgreSQLParser.transform_type_list`.
2875
3045
  * @param ctx the parse tree
@@ -2900,6 +3070,12 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
2900
3070
  * @return the visitor result
2901
3071
  */
2902
3072
  visitAlterfunctionstmt?: (ctx: AlterfunctionstmtContext) => Result;
3073
+ /**
3074
+ * Visit a parse tree produced by `PostgreSQLParser.alterFunctionTypeClause`.
3075
+ * @param ctx the parse tree
3076
+ * @return the visitor result
3077
+ */
3078
+ visitAlterFunctionTypeClause?: (ctx: AlterFunctionTypeClauseContext) => Result;
2903
3079
  /**
2904
3080
  * Visit a parse tree produced by `PostgreSQLParser.alterfunc_opt_list`.
2905
3081
  * @param ctx the parse tree
@@ -2984,12 +3160,6 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
2984
3160
  * @return the visitor result
2985
3161
  */
2986
3162
  visitCast_context?: (ctx: Cast_contextContext) => Result;
2987
- /**
2988
- * Visit a parse tree produced by `PostgreSQLParser.dropcaststmt`.
2989
- * @param ctx the parse tree
2990
- * @return the visitor result
2991
- */
2992
- visitDropcaststmt?: (ctx: DropcaststmtContext) => Result;
2993
3163
  /**
2994
3164
  * Visit a parse tree produced by `PostgreSQLParser.opt_if_exists`.
2995
3165
  * @param ctx the parse tree
@@ -3008,12 +3178,6 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
3008
3178
  * @return the visitor result
3009
3179
  */
3010
3180
  visitTransform_element_list?: (ctx: Transform_element_listContext) => Result;
3011
- /**
3012
- * Visit a parse tree produced by `PostgreSQLParser.droptransformstmt`.
3013
- * @param ctx the parse tree
3014
- * @return the visitor result
3015
- */
3016
- visitDroptransformstmt?: (ctx: DroptransformstmtContext) => Result;
3017
3181
  /**
3018
3182
  * Visit a parse tree produced by `PostgreSQLParser.reindexstmt`.
3019
3183
  * @param ctx the parse tree
@@ -3170,12 +3334,6 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
3170
3334
  * @return the visitor result
3171
3335
  */
3172
3336
  visitAltersubscriptionstmt?: (ctx: AltersubscriptionstmtContext) => Result;
3173
- /**
3174
- * Visit a parse tree produced by `PostgreSQLParser.dropsubscriptionstmt`.
3175
- * @param ctx the parse tree
3176
- * @return the visitor result
3177
- */
3178
- visitDropsubscriptionstmt?: (ctx: DropsubscriptionstmtContext) => Result;
3179
3337
  /**
3180
3338
  * Visit a parse tree produced by `PostgreSQLParser.rulestmt`.
3181
3339
  * @param ctx the parse tree
@@ -3344,12 +3502,6 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
3344
3502
  * @return the visitor result
3345
3503
  */
3346
3504
  visitAlterdatabasesetstmt?: (ctx: AlterdatabasesetstmtContext) => Result;
3347
- /**
3348
- * Visit a parse tree produced by `PostgreSQLParser.dropdbstmt`.
3349
- * @param ctx the parse tree
3350
- * @return the visitor result
3351
- */
3352
- visitDropdbstmt?: (ctx: DropdbstmtContext) => Result;
3353
3505
  /**
3354
3506
  * Visit a parse tree produced by `PostgreSQLParser.drop_option_list`.
3355
3507
  * @param ctx the parse tree
@@ -3422,6 +3574,12 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
3422
3574
  * @return the visitor result
3423
3575
  */
3424
3576
  visitClusterstmt?: (ctx: ClusterstmtContext) => Result;
3577
+ /**
3578
+ * Visit a parse tree produced by `PostgreSQLParser.opt_verbose_list`.
3579
+ * @param ctx the parse tree
3580
+ * @return the visitor result
3581
+ */
3582
+ visitOpt_verbose_list?: (ctx: Opt_verbose_listContext) => Result;
3425
3583
  /**
3426
3584
  * Visit a parse tree produced by `PostgreSQLParser.cluster_index_specification`.
3427
3585
  * @param ctx the parse tree
@@ -3800,6 +3958,18 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
3800
3958
  * @return the visitor result
3801
3959
  */
3802
3960
  visitCommon_table_expr?: (ctx: Common_table_exprContext) => Result;
3961
+ /**
3962
+ * Visit a parse tree produced by `PostgreSQLParser.search_cluase`.
3963
+ * @param ctx the parse tree
3964
+ * @return the visitor result
3965
+ */
3966
+ visitSearch_cluase?: (ctx: Search_cluaseContext) => Result;
3967
+ /**
3968
+ * Visit a parse tree produced by `PostgreSQLParser.cycle_cluase`.
3969
+ * @param ctx the parse tree
3970
+ * @return the visitor result
3971
+ */
3972
+ visitCycle_cluase?: (ctx: Cycle_cluaseContext) => Result;
3803
3973
  /**
3804
3974
  * Visit a parse tree produced by `PostgreSQLParser.opt_materialized`.
3805
3975
  * @param ctx the parse tree
@@ -4082,12 +4252,24 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
4082
4252
  * @return the visitor result
4083
4253
  */
4084
4254
  visitRelation_expr?: (ctx: Relation_exprContext) => Result;
4255
+ /**
4256
+ * Visit a parse tree produced by `PostgreSQLParser.publication_relation_expr`.
4257
+ * @param ctx the parse tree
4258
+ * @return the visitor result
4259
+ */
4260
+ visitPublication_relation_expr?: (ctx: Publication_relation_exprContext) => Result;
4085
4261
  /**
4086
4262
  * Visit a parse tree produced by `PostgreSQLParser.relation_expr_list`.
4087
4263
  * @param ctx the parse tree
4088
4264
  * @return the visitor result
4089
4265
  */
4090
4266
  visitRelation_expr_list?: (ctx: Relation_expr_listContext) => Result;
4267
+ /**
4268
+ * Visit a parse tree produced by `PostgreSQLParser.publication_relation_expr_list`.
4269
+ * @param ctx the parse tree
4270
+ * @return the visitor result
4271
+ */
4272
+ visitPublication_relation_expr_list?: (ctx: Publication_relation_expr_listContext) => Result;
4091
4273
  /**
4092
4274
  * Visit a parse tree produced by `PostgreSQLParser.relation_expr_opt_alias`.
4093
4275
  * @param ctx the parse tree
@@ -4694,6 +4876,18 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
4694
4876
  * @return the visitor result
4695
4877
  */
4696
4878
  visitExpr_list?: (ctx: Expr_listContext) => Result;
4879
+ /**
4880
+ * Visit a parse tree produced by `PostgreSQLParser.column_expr_list`.
4881
+ * @param ctx the parse tree
4882
+ * @return the visitor result
4883
+ */
4884
+ visitColumn_expr_list?: (ctx: Column_expr_listContext) => Result;
4885
+ /**
4886
+ * Visit a parse tree produced by `PostgreSQLParser.column_expr`.
4887
+ * @param ctx the parse tree
4888
+ * @return the visitor result
4889
+ */
4890
+ visitColumn_expr?: (ctx: Column_exprContext) => Result;
4697
4891
  /**
4698
4892
  * Visit a parse tree produced by `PostgreSQLParser.func_arg_list`.
4699
4893
  * @param ctx the parse tree
@@ -4856,18 +5050,126 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
4856
5050
  * @return the visitor result
4857
5051
  */
4858
5052
  visitQualified_name_list?: (ctx: Qualified_name_listContext) => Result;
5053
+ /**
5054
+ * Visit a parse tree produced by `PostgreSQLParser.table_name_list`.
5055
+ * @param ctx the parse tree
5056
+ * @return the visitor result
5057
+ */
5058
+ visitTable_name_list?: (ctx: Table_name_listContext) => Result;
5059
+ /**
5060
+ * Visit a parse tree produced by `PostgreSQLParser.schema_name_list`.
5061
+ * @param ctx the parse tree
5062
+ * @return the visitor result
5063
+ */
5064
+ visitSchema_name_list?: (ctx: Schema_name_listContext) => Result;
5065
+ /**
5066
+ * Visit a parse tree produced by `PostgreSQLParser.database_nameList`.
5067
+ * @param ctx the parse tree
5068
+ * @return the visitor result
5069
+ */
5070
+ visitDatabase_nameList?: (ctx: Database_nameListContext) => Result;
5071
+ /**
5072
+ * Visit a parse tree produced by `PostgreSQLParser.procedure_name_list`.
5073
+ * @param ctx the parse tree
5074
+ * @return the visitor result
5075
+ */
5076
+ visitProcedure_name_list?: (ctx: Procedure_name_listContext) => Result;
5077
+ /**
5078
+ * Visit a parse tree produced by `PostgreSQLParser.tablespace_name_create`.
5079
+ * @param ctx the parse tree
5080
+ * @return the visitor result
5081
+ */
5082
+ visitTablespace_name_create?: (ctx: Tablespace_name_createContext) => Result;
5083
+ /**
5084
+ * Visit a parse tree produced by `PostgreSQLParser.tablespace_name`.
5085
+ * @param ctx the parse tree
5086
+ * @return the visitor result
5087
+ */
5088
+ visitTablespace_name?: (ctx: Tablespace_nameContext) => Result;
5089
+ /**
5090
+ * Visit a parse tree produced by `PostgreSQLParser.table_name_create`.
5091
+ * @param ctx the parse tree
5092
+ * @return the visitor result
5093
+ */
5094
+ visitTable_name_create?: (ctx: Table_name_createContext) => Result;
5095
+ /**
5096
+ * Visit a parse tree produced by `PostgreSQLParser.table_name`.
5097
+ * @param ctx the parse tree
5098
+ * @return the visitor result
5099
+ */
5100
+ visitTable_name?: (ctx: Table_nameContext) => Result;
5101
+ /**
5102
+ * Visit a parse tree produced by `PostgreSQLParser.view_name_create`.
5103
+ * @param ctx the parse tree
5104
+ * @return the visitor result
5105
+ */
5106
+ visitView_name_create?: (ctx: View_name_createContext) => Result;
5107
+ /**
5108
+ * Visit a parse tree produced by `PostgreSQLParser.view_name`.
5109
+ * @param ctx the parse tree
5110
+ * @return the visitor result
5111
+ */
5112
+ visitView_name?: (ctx: View_nameContext) => Result;
4859
5113
  /**
4860
5114
  * Visit a parse tree produced by `PostgreSQLParser.qualified_name`.
4861
5115
  * @param ctx the parse tree
4862
5116
  * @return the visitor result
4863
5117
  */
4864
5118
  visitQualified_name?: (ctx: Qualified_nameContext) => Result;
5119
+ /**
5120
+ * Visit a parse tree produced by `PostgreSQLParser.tablespace_name_list`.
5121
+ * @param ctx the parse tree
5122
+ * @return the visitor result
5123
+ */
5124
+ visitTablespace_name_list?: (ctx: Tablespace_name_listContext) => Result;
4865
5125
  /**
4866
5126
  * Visit a parse tree produced by `PostgreSQLParser.name_list`.
4867
5127
  * @param ctx the parse tree
4868
5128
  * @return the visitor result
4869
5129
  */
4870
5130
  visitName_list?: (ctx: Name_listContext) => Result;
5131
+ /**
5132
+ * Visit a parse tree produced by `PostgreSQLParser.database_name_create`.
5133
+ * @param ctx the parse tree
5134
+ * @return the visitor result
5135
+ */
5136
+ visitDatabase_name_create?: (ctx: Database_name_createContext) => Result;
5137
+ /**
5138
+ * Visit a parse tree produced by `PostgreSQLParser.database_name`.
5139
+ * @param ctx the parse tree
5140
+ * @return the visitor result
5141
+ */
5142
+ visitDatabase_name?: (ctx: Database_nameContext) => Result;
5143
+ /**
5144
+ * Visit a parse tree produced by `PostgreSQLParser.schema_name`.
5145
+ * @param ctx the parse tree
5146
+ * @return the visitor result
5147
+ */
5148
+ visitSchema_name?: (ctx: Schema_nameContext) => Result;
5149
+ /**
5150
+ * Visit a parse tree produced by `PostgreSQLParser.routine_name_create`.
5151
+ * @param ctx the parse tree
5152
+ * @return the visitor result
5153
+ */
5154
+ visitRoutine_name_create?: (ctx: Routine_name_createContext) => Result;
5155
+ /**
5156
+ * Visit a parse tree produced by `PostgreSQLParser.routine_name`.
5157
+ * @param ctx the parse tree
5158
+ * @return the visitor result
5159
+ */
5160
+ visitRoutine_name?: (ctx: Routine_nameContext) => Result;
5161
+ /**
5162
+ * Visit a parse tree produced by `PostgreSQLParser.procedure_name`.
5163
+ * @param ctx the parse tree
5164
+ * @return the visitor result
5165
+ */
5166
+ visitProcedure_name?: (ctx: Procedure_nameContext) => Result;
5167
+ /**
5168
+ * Visit a parse tree produced by `PostgreSQLParser.procedure_name_create`.
5169
+ * @param ctx the parse tree
5170
+ * @return the visitor result
5171
+ */
5172
+ visitProcedure_name_create?: (ctx: Procedure_name_createContext) => Result;
4871
5173
  /**
4872
5174
  * Visit a parse tree produced by `PostgreSQLParser.name`.
4873
5175
  * @param ctx the parse tree
@@ -4887,11 +5189,23 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
4887
5189
  */
4888
5190
  visitFile_name?: (ctx: File_nameContext) => Result;
4889
5191
  /**
4890
- * Visit a parse tree produced by `PostgreSQLParser.func_name`.
5192
+ * Visit a parse tree produced by `PostgreSQLParser.function_name_create`.
4891
5193
  * @param ctx the parse tree
4892
5194
  * @return the visitor result
4893
5195
  */
4894
- visitFunc_name?: (ctx: Func_nameContext) => Result;
5196
+ visitFunction_name_create?: (ctx: Function_name_createContext) => Result;
5197
+ /**
5198
+ * Visit a parse tree produced by `PostgreSQLParser.function_name`.
5199
+ * @param ctx the parse tree
5200
+ * @return the visitor result
5201
+ */
5202
+ visitFunction_name?: (ctx: Function_nameContext) => Result;
5203
+ /**
5204
+ * Visit a parse tree produced by `PostgreSQLParser.usual_name`.
5205
+ * @param ctx the parse tree
5206
+ * @return the visitor result
5207
+ */
5208
+ visitUsual_name?: (ctx: Usual_nameContext) => Result;
4895
5209
  /**
4896
5210
  * Visit a parse tree produced by `PostgreSQLParser.aexprconst`.
4897
5211
  * @param ctx the parse tree
@@ -4946,6 +5260,12 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
4946
5260
  * @return the visitor result
4947
5261
  */
4948
5262
  visitSignediconst?: (ctx: SignediconstContext) => Result;
5263
+ /**
5264
+ * Visit a parse tree produced by `PostgreSQLParser.groupname`.
5265
+ * @param ctx the parse tree
5266
+ * @return the visitor result
5267
+ */
5268
+ visitGroupname?: (ctx: GroupnameContext) => Result;
4949
5269
  /**
4950
5270
  * Visit a parse tree produced by `PostgreSQLParser.roleid`.
4951
5271
  * @param ctx the parse tree
@@ -4970,12 +5290,36 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
4970
5290
  * @return the visitor result
4971
5291
  */
4972
5292
  visitColid?: (ctx: ColidContext) => Result;
5293
+ /**
5294
+ * Visit a parse tree produced by `PostgreSQLParser.index_method_choices`.
5295
+ * @param ctx the parse tree
5296
+ * @return the visitor result
5297
+ */
5298
+ visitIndex_method_choices?: (ctx: Index_method_choicesContext) => Result;
5299
+ /**
5300
+ * Visit a parse tree produced by `PostgreSQLParser.exclude_element`.
5301
+ * @param ctx the parse tree
5302
+ * @return the visitor result
5303
+ */
5304
+ visitExclude_element?: (ctx: Exclude_elementContext) => Result;
5305
+ /**
5306
+ * Visit a parse tree produced by `PostgreSQLParser.index_paramenters`.
5307
+ * @param ctx the parse tree
5308
+ * @return the visitor result
5309
+ */
5310
+ visitIndex_paramenters?: (ctx: Index_paramentersContext) => Result;
4973
5311
  /**
4974
5312
  * Visit a parse tree produced by `PostgreSQLParser.type_function_name`.
4975
5313
  * @param ctx the parse tree
4976
5314
  * @return the visitor result
4977
5315
  */
4978
5316
  visitType_function_name?: (ctx: Type_function_nameContext) => Result;
5317
+ /**
5318
+ * Visit a parse tree produced by `PostgreSQLParser.type_usual_name`.
5319
+ * @param ctx the parse tree
5320
+ * @return the visitor result
5321
+ */
5322
+ visitType_usual_name?: (ctx: Type_usual_nameContext) => Result;
4979
5323
  /**
4980
5324
  * Visit a parse tree produced by `PostgreSQLParser.nonreservedword`.
4981
5325
  * @param ctx the parse tree
@@ -5558,6 +5902,54 @@ export interface PostgreSQLParserVisitor<Result> extends ParseTreeVisitor<Result
5558
5902
  * @return the visitor result
5559
5903
  */
5560
5904
  visitStmt_move?: (ctx: Stmt_moveContext) => Result;
5905
+ /**
5906
+ * Visit a parse tree produced by `PostgreSQLParser.mergestmt`.
5907
+ * @param ctx the parse tree
5908
+ * @return the visitor result
5909
+ */
5910
+ visitMergestmt?: (ctx: MergestmtContext) => Result;
5911
+ /**
5912
+ * Visit a parse tree produced by `PostgreSQLParser.data_source`.
5913
+ * @param ctx the parse tree
5914
+ * @return the visitor result
5915
+ */
5916
+ visitData_source?: (ctx: Data_sourceContext) => Result;
5917
+ /**
5918
+ * Visit a parse tree produced by `PostgreSQLParser.join_condition`.
5919
+ * @param ctx the parse tree
5920
+ * @return the visitor result
5921
+ */
5922
+ visitJoin_condition?: (ctx: Join_conditionContext) => Result;
5923
+ /**
5924
+ * Visit a parse tree produced by `PostgreSQLParser.merge_when_clause`.
5925
+ * @param ctx the parse tree
5926
+ * @return the visitor result
5927
+ */
5928
+ visitMerge_when_clause?: (ctx: Merge_when_clauseContext) => Result;
5929
+ /**
5930
+ * Visit a parse tree produced by `PostgreSQLParser.merge_insert`.
5931
+ * @param ctx the parse tree
5932
+ * @return the visitor result
5933
+ */
5934
+ visitMerge_insert?: (ctx: Merge_insertContext) => Result;
5935
+ /**
5936
+ * Visit a parse tree produced by `PostgreSQLParser.merge_update`.
5937
+ * @param ctx the parse tree
5938
+ * @return the visitor result
5939
+ */
5940
+ visitMerge_update?: (ctx: Merge_updateContext) => Result;
5941
+ /**
5942
+ * Visit a parse tree produced by `PostgreSQLParser.exprofdefaultlist`.
5943
+ * @param ctx the parse tree
5944
+ * @return the visitor result
5945
+ */
5946
+ visitExprofdefaultlist?: (ctx: ExprofdefaultlistContext) => Result;
5947
+ /**
5948
+ * Visit a parse tree produced by `PostgreSQLParser.exprofdefault`.
5949
+ * @param ctx the parse tree
5950
+ * @return the visitor result
5951
+ */
5952
+ visitExprofdefault?: (ctx: ExprofdefaultContext) => Result;
5561
5953
  /**
5562
5954
  * Visit a parse tree produced by `PostgreSQLParser.stmt_close`.
5563
5955
  * @param ctx the parse tree