dt-sql-parser 4.1.1 → 4.1.2-beta.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.
@@ -552,48 +552,51 @@ export declare class PostgreSqlParser extends SQLParserBase {
552
552
  static readonly KW_MAIN = 546;
553
553
  static readonly KW_SKIP_LOCKED = 547;
554
554
  static readonly KW_BUFFER_USAGE_LIMIT = 548;
555
- static readonly Identifier = 549;
556
- static readonly QuotedIdentifier = 550;
557
- static readonly UnterminatedQuotedIdentifier = 551;
558
- static readonly InvalidQuotedIdentifier = 552;
559
- static readonly InvalidUnterminatedQuotedIdentifier = 553;
560
- static readonly UnicodeQuotedIdentifier = 554;
561
- static readonly UnterminatedUnicodeQuotedIdentifier = 555;
562
- static readonly InvalidUnicodeQuotedIdentifier = 556;
563
- static readonly InvalidUnterminatedUnicodeQuotedIdentifier = 557;
564
- static readonly StringConstant = 558;
565
- static readonly UnterminatedStringConstant = 559;
566
- static readonly UnicodeEscapeStringConstant = 560;
567
- static readonly UnterminatedUnicodeEscapeStringConstant = 561;
568
- static readonly BeginDollarStringConstant = 562;
569
- static readonly BinaryStringConstant = 563;
570
- static readonly UnterminatedBinaryStringConstant = 564;
571
- static readonly InvalidBinaryStringConstant = 565;
572
- static readonly InvalidUnterminatedBinaryStringConstant = 566;
573
- static readonly HexadecimalStringConstant = 567;
574
- static readonly UnterminatedHexadecimalStringConstant = 568;
575
- static readonly InvalidHexadecimalStringConstant = 569;
576
- static readonly InvalidUnterminatedHexadecimalStringConstant = 570;
577
- static readonly Integral = 571;
578
- static readonly NumericFail = 572;
579
- static readonly Numeric = 573;
580
- static readonly PLSQLVARIABLENAME = 574;
581
- static readonly PLSQLIDENTIFIER = 575;
582
- static readonly Whitespace = 576;
583
- static readonly Newline = 577;
584
- static readonly LineComment = 578;
585
- static readonly BlockComment = 579;
586
- static readonly UnterminatedBlockComment = 580;
587
- static readonly MetaCommand = 581;
588
- static readonly EndMetaCommand = 582;
589
- static readonly ErrorCharacter = 583;
590
- static readonly EscapeStringConstant = 584;
591
- static readonly UnterminatedEscapeStringConstant = 585;
592
- static readonly InvalidEscapeStringConstant = 586;
593
- static readonly InvalidUnterminatedEscapeStringConstant = 587;
594
- static readonly DollarText = 588;
595
- static readonly EndDollarStringConstant = 589;
596
- static readonly AfterEscapeStringConstantWithNewlineMode_Continued = 590;
555
+ static readonly KW_FORCE_QUOTE = 549;
556
+ static readonly KW_FORCE_NOT_NULL = 550;
557
+ static readonly KW_FORCE_NULL = 551;
558
+ static readonly Identifier = 552;
559
+ static readonly QuotedIdentifier = 553;
560
+ static readonly UnterminatedQuotedIdentifier = 554;
561
+ static readonly InvalidQuotedIdentifier = 555;
562
+ static readonly InvalidUnterminatedQuotedIdentifier = 556;
563
+ static readonly UnicodeQuotedIdentifier = 557;
564
+ static readonly UnterminatedUnicodeQuotedIdentifier = 558;
565
+ static readonly InvalidUnicodeQuotedIdentifier = 559;
566
+ static readonly InvalidUnterminatedUnicodeQuotedIdentifier = 560;
567
+ static readonly StringConstant = 561;
568
+ static readonly UnterminatedStringConstant = 562;
569
+ static readonly UnicodeEscapeStringConstant = 563;
570
+ static readonly UnterminatedUnicodeEscapeStringConstant = 564;
571
+ static readonly BeginDollarStringConstant = 565;
572
+ static readonly BinaryStringConstant = 566;
573
+ static readonly UnterminatedBinaryStringConstant = 567;
574
+ static readonly InvalidBinaryStringConstant = 568;
575
+ static readonly InvalidUnterminatedBinaryStringConstant = 569;
576
+ static readonly HexadecimalStringConstant = 570;
577
+ static readonly UnterminatedHexadecimalStringConstant = 571;
578
+ static readonly InvalidHexadecimalStringConstant = 572;
579
+ static readonly InvalidUnterminatedHexadecimalStringConstant = 573;
580
+ static readonly Integral = 574;
581
+ static readonly NumericFail = 575;
582
+ static readonly Numeric = 576;
583
+ static readonly PLSQLVARIABLENAME = 577;
584
+ static readonly PLSQLIDENTIFIER = 578;
585
+ static readonly Whitespace = 579;
586
+ static readonly Newline = 580;
587
+ static readonly LineComment = 581;
588
+ static readonly BlockComment = 582;
589
+ static readonly UnterminatedBlockComment = 583;
590
+ static readonly MetaCommand = 584;
591
+ static readonly EndMetaCommand = 585;
592
+ static readonly ErrorCharacter = 586;
593
+ static readonly EscapeStringConstant = 587;
594
+ static readonly UnterminatedEscapeStringConstant = 588;
595
+ static readonly InvalidEscapeStringConstant = 589;
596
+ static readonly InvalidUnterminatedEscapeStringConstant = 590;
597
+ static readonly DollarText = 591;
598
+ static readonly EndDollarStringConstant = 592;
599
+ static readonly AfterEscapeStringConstantWithNewlineMode_Continued = 593;
597
600
  static readonly RULE_program = 0;
598
601
  static readonly RULE_singleStmt = 1;
599
602
  static readonly RULE_stmt = 2;
@@ -652,414 +655,415 @@ export declare class PostgreSqlParser extends SQLParserBase {
652
655
  static readonly RULE_alter_type_cmd = 55;
653
656
  static readonly RULE_closeportalstmt = 56;
654
657
  static readonly RULE_copystmt = 57;
655
- static readonly RULE_copy_options = 58;
656
- static readonly RULE_copy_generic_opt_elem = 59;
657
- static readonly RULE_createstmt = 60;
658
- static readonly RULE_opttemp = 61;
659
- static readonly RULE_opttypedtableelementlist = 62;
660
- static readonly RULE_tableelementlist = 63;
661
- static readonly RULE_tableelement = 64;
662
- static readonly RULE_typedtableelement = 65;
663
- static readonly RULE_column_def = 66;
664
- static readonly RULE_colconstraint = 67;
665
- static readonly RULE_colconstraintelem = 68;
666
- static readonly RULE_generated_when = 69;
667
- static readonly RULE_tablelikeoption = 70;
668
- static readonly RULE_constraintelem = 71;
669
- static readonly RULE_opt_column_list = 72;
670
- static readonly RULE_opt_column_list_create = 73;
671
- static readonly RULE_column_list = 74;
672
- static readonly RULE_opt_c_include = 75;
673
- static readonly RULE_key_match = 76;
674
- static readonly RULE_exclusionconstraintelem = 77;
675
- static readonly RULE_key_actions = 78;
676
- static readonly RULE_key_update = 79;
677
- static readonly RULE_key_delete = 80;
678
- static readonly RULE_key_action = 81;
679
- static readonly RULE_optinherit = 82;
680
- static readonly RULE_partitionspec = 83;
681
- static readonly RULE_part_elem = 84;
682
- static readonly RULE_table_access_method_clause = 85;
683
- static readonly RULE_optwith = 86;
684
- static readonly RULE_oncommitoption = 87;
685
- static readonly RULE_opttablespace = 88;
686
- static readonly RULE_optconstablespace = 89;
687
- static readonly RULE_existingindex = 90;
688
- static readonly RULE_createstatsstmt = 91;
689
- static readonly RULE_alterstatsstmt = 92;
690
- static readonly RULE_createasstmt = 93;
691
- static readonly RULE_create_as_target = 94;
692
- static readonly RULE_opt_with_data = 95;
693
- static readonly RULE_creatematviewstmt = 96;
694
- static readonly RULE_refreshmatviewstmt = 97;
695
- static readonly RULE_createseqstmt = 98;
696
- static readonly RULE_alterseqstmt = 99;
697
- static readonly RULE_seqoptelem = 100;
698
- static readonly RULE_numericonly = 101;
699
- static readonly RULE_createplangstmt = 102;
700
- static readonly RULE_createtablespacestmt = 103;
701
- static readonly RULE_createextensionstmt = 104;
702
- static readonly RULE_alterextensionstmt = 105;
703
- static readonly RULE_alterextensioncontentsstmt = 106;
704
- static readonly RULE_createfdwstmt = 107;
705
- static readonly RULE_fdw_option = 108;
706
- static readonly RULE_alterfdwstmt = 109;
707
- static readonly RULE_create_generic_options = 110;
708
- static readonly RULE_alter_generic_options = 111;
709
- static readonly RULE_alter_generic_option_elem = 112;
710
- static readonly RULE_generic_option_elem = 113;
711
- static readonly RULE_createforeignserverstmt = 114;
712
- static readonly RULE_foreign_server_version = 115;
713
- static readonly RULE_alterforeignserverstmt = 116;
714
- static readonly RULE_createforeigntablestmt = 117;
715
- static readonly RULE_importforeignschemastmt = 118;
716
- static readonly RULE_createusermappingstmt = 119;
717
- static readonly RULE_alterusermappingstmt = 120;
718
- static readonly RULE_createpolicystmt = 121;
719
- static readonly RULE_alterpolicystmt = 122;
720
- static readonly RULE_alterprocedurestmt = 123;
721
- static readonly RULE_procedure_action = 124;
722
- static readonly RULE_rowsecurityoptionalexpr = 125;
723
- static readonly RULE_rowsecurityoptionalwithcheck = 126;
724
- static readonly RULE_createamstmt = 127;
725
- static readonly RULE_createtrigstmt = 128;
726
- static readonly RULE_triggeractiontime = 129;
727
- static readonly RULE_triggerevents = 130;
728
- static readonly RULE_triggeroneevent = 131;
729
- static readonly RULE_triggerwhen = 132;
730
- static readonly RULE_function_or_procedure = 133;
731
- static readonly RULE_triggerfuncargs = 134;
732
- static readonly RULE_triggerfuncarg = 135;
733
- static readonly RULE_constraintattributeElem = 136;
734
- static readonly RULE_createeventtrigstmt = 137;
735
- static readonly RULE_event_trigger_when_item = 138;
736
- static readonly RULE_altereventtrigstmt = 139;
737
- static readonly RULE_createassertionstmt = 140;
738
- static readonly RULE_definestmt = 141;
739
- static readonly RULE_definition = 142;
740
- static readonly RULE_def_elem = 143;
741
- static readonly RULE_def_arg = 144;
742
- static readonly RULE_old_aggr_elem = 145;
743
- static readonly RULE_alterenumstmt = 146;
744
- static readonly RULE_opt_if_not_exists = 147;
745
- static readonly RULE_createopclassstmt = 148;
746
- static readonly RULE_opclass_item = 149;
747
- static readonly RULE_createopfamilystmt = 150;
748
- static readonly RULE_alteropfamilystmt = 151;
749
- static readonly RULE_opclass_drop = 152;
750
- static readonly RULE_reassignownedstmt = 153;
751
- static readonly RULE_dropstmt = 154;
752
- static readonly RULE_object_type_any_name = 155;
753
- static readonly RULE_object_type_name = 156;
754
- static readonly RULE_any_name_list = 157;
755
- static readonly RULE_any_name = 158;
756
- static readonly RULE_attrs = 159;
757
- static readonly RULE_truncatestmt = 160;
758
- static readonly RULE_truncate_table = 161;
759
- static readonly RULE_commentstmt = 162;
760
- static readonly RULE_seclabelstmt = 163;
761
- static readonly RULE_fetchstmt = 164;
762
- static readonly RULE_fetch_args = 165;
763
- static readonly RULE_from_in = 166;
764
- static readonly RULE_grantstmt = 167;
765
- static readonly RULE_revokestmt = 168;
766
- static readonly RULE_privileges = 169;
767
- static readonly RULE_beforeprivilegeselect = 170;
768
- static readonly RULE_privilege = 171;
769
- static readonly RULE_privilege_target = 172;
770
- static readonly RULE_grantee_list = 173;
771
- static readonly RULE_grantrolestmt = 174;
772
- static readonly RULE_revokerolestmt = 175;
773
- static readonly RULE_alterdefaultprivilegesstmt = 176;
774
- static readonly RULE_defaclaction = 177;
775
- static readonly RULE_defacl_privilege_target = 178;
776
- static readonly RULE_indexstmt = 179;
777
- static readonly RULE_index_params = 180;
778
- static readonly RULE_index_elem = 181;
779
- static readonly RULE_createfunctionstmt = 182;
780
- static readonly RULE_opt_or_replace = 183;
781
- static readonly RULE_func_args = 184;
782
- static readonly RULE_func_args_list = 185;
783
- static readonly RULE_routine_with_argtypes_list = 186;
784
- static readonly RULE_routine_with_argtypes = 187;
785
- static readonly RULE_procedure_with_argtypes_list = 188;
786
- static readonly RULE_procedure_with_argtypes = 189;
787
- static readonly RULE_function_with_argtypes_list = 190;
788
- static readonly RULE_function_with_argtypes = 191;
789
- static readonly RULE_func_arg = 192;
790
- static readonly RULE_arg_class = 193;
791
- static readonly RULE_func_type = 194;
792
- static readonly RULE_func_arg_with_default = 195;
793
- static readonly RULE_aggr_args = 196;
794
- static readonly RULE_aggregate_with_argtypes = 197;
795
- static readonly RULE_common_func_opt_item = 198;
796
- static readonly RULE_createfunc_opt_item = 199;
797
- static readonly RULE_opt_definition = 200;
798
- static readonly RULE_table_func_column = 201;
799
- static readonly RULE_alterfunctionstmt = 202;
800
- static readonly RULE_removefuncstmt = 203;
801
- static readonly RULE_removeaggrstmt = 204;
802
- static readonly RULE_removeoperstmt = 205;
803
- static readonly RULE_oper_argtypes = 206;
804
- static readonly RULE_any_operator = 207;
805
- static readonly RULE_operator_with_argtypes = 208;
806
- static readonly RULE_dostmt = 209;
807
- static readonly RULE_createcaststmt = 210;
808
- static readonly RULE_opt_if_exists = 211;
809
- static readonly RULE_createtransformstmt = 212;
810
- static readonly RULE_sql_with_function = 213;
811
- static readonly RULE_reindexstmt = 214;
812
- static readonly RULE_altertblspcstmt = 215;
813
- static readonly RULE_renamestmt = 216;
814
- static readonly RULE_alterobjectdependsstmt = 217;
815
- static readonly RULE_alterobjectschemastmt = 218;
816
- static readonly RULE_alteroperatorstmt = 219;
817
- static readonly RULE_operator_def_list = 220;
818
- static readonly RULE_operator_def_elem = 221;
819
- static readonly RULE_altertypestmt = 222;
820
- static readonly RULE_alterownerstmt = 223;
821
- static readonly RULE_createpublicationstmt = 224;
822
- static readonly RULE_alterpublicationstmt = 225;
823
- static readonly RULE_createsubscriptionstmt = 226;
824
- static readonly RULE_altersubscriptionstmt = 227;
825
- static readonly RULE_rulestmt = 228;
826
- static readonly RULE_ruleactionstmt = 229;
827
- static readonly RULE_notifystmt = 230;
828
- static readonly RULE_notify_payload = 231;
829
- static readonly RULE_listenstmt = 232;
830
- static readonly RULE_unlistenstmt = 233;
831
- static readonly RULE_transactionstmt = 234;
832
- static readonly RULE_opt_transaction = 235;
833
- static readonly RULE_transaction_mode_item = 236;
834
- static readonly RULE_transaction_mode_list = 237;
835
- static readonly RULE_viewstmt = 238;
836
- static readonly RULE_loadstmt = 239;
837
- static readonly RULE_createdbstmt = 240;
838
- static readonly RULE_createdb_opt_item = 241;
839
- static readonly RULE_alterdatabasestmt = 242;
840
- static readonly RULE_alterdatabasesetstmt = 243;
841
- static readonly RULE_altercollationstmt = 244;
842
- static readonly RULE_altersystemstmt = 245;
843
- static readonly RULE_createdomainstmt = 246;
844
- static readonly RULE_alterdomainstmt = 247;
845
- static readonly RULE_altertsdictionarystmt = 248;
846
- static readonly RULE_altertsconfigurationstmt = 249;
847
- static readonly RULE_createconversionstmt = 250;
848
- static readonly RULE_clusterstmt = 251;
849
- static readonly RULE_vacuumstmt = 252;
850
- static readonly RULE_analyzestmt = 253;
851
- static readonly RULE_analyze_keyword = 254;
852
- static readonly RULE_vac_analyze_option_elem = 255;
853
- static readonly RULE_analyze_option_elem = 256;
854
- static readonly RULE_opt_verbose = 257;
855
- static readonly RULE_vacuum_relation = 258;
856
- static readonly RULE_vacuum_relation_list = 259;
857
- static readonly RULE_explainstmt = 260;
858
- static readonly RULE_explainablestmt = 261;
859
- static readonly RULE_explain_option_list = 262;
860
- static readonly RULE_preparestmt = 263;
861
- static readonly RULE_prep_type_clause = 264;
862
- static readonly RULE_preparablestmt = 265;
863
- static readonly RULE_executestmt = 266;
864
- static readonly RULE_execute_param_clause = 267;
865
- static readonly RULE_deallocatestmt = 268;
866
- static readonly RULE_insertstmt = 269;
867
- static readonly RULE_insert_rest = 270;
868
- static readonly RULE_insert_column_list = 271;
869
- static readonly RULE_insert_column_item = 272;
870
- static readonly RULE_returning_clause = 273;
871
- static readonly RULE_deletestmt = 274;
872
- static readonly RULE_lockstmt = 275;
873
- static readonly RULE_updatestmt = 276;
874
- static readonly RULE_set_clause_list = 277;
875
- static readonly RULE_set_clause = 278;
876
- static readonly RULE_declarecursorstmt = 279;
877
- static readonly RULE_selectstmt = 280;
878
- static readonly RULE_select_with_parens = 281;
879
- static readonly RULE_select_no_parens = 282;
880
- static readonly RULE_select_clause = 283;
881
- static readonly RULE_simple_select = 284;
882
- static readonly RULE_set_operator_with_all_or_distinct = 285;
883
- static readonly RULE_with_clause = 286;
884
- static readonly RULE_common_table_expr = 287;
885
- static readonly RULE_search_cluase = 288;
886
- static readonly RULE_cycle_cluase = 289;
887
- static readonly RULE_into_clause = 290;
888
- static readonly RULE_opttempTableName = 291;
889
- static readonly RULE_distinct_clause = 292;
890
- static readonly RULE_sort_clause = 293;
891
- static readonly RULE_sortby = 294;
892
- static readonly RULE_select_limit = 295;
893
- static readonly RULE_limit_clause = 296;
894
- static readonly RULE_fetch_clause = 297;
895
- static readonly RULE_offset_clause = 298;
896
- static readonly RULE_select_fetch_first_value = 299;
897
- static readonly RULE_group_clause = 300;
898
- static readonly RULE_group_by_list = 301;
899
- static readonly RULE_group_by_item = 302;
900
- static readonly RULE_for_locking_clause = 303;
901
- static readonly RULE_values_clause = 304;
902
- static readonly RULE_from_clause = 305;
903
- static readonly RULE_from_list = 306;
904
- static readonly RULE_table_ref = 307;
905
- static readonly RULE_alias_clause = 308;
906
- static readonly RULE_func_alias_clause = 309;
907
- static readonly RULE_join_type = 310;
908
- static readonly RULE_join_qual = 311;
909
- static readonly RULE_relation_expr = 312;
910
- static readonly RULE_publication_relation_expr = 313;
911
- static readonly RULE_relation_expr_list = 314;
912
- static readonly RULE_relation_expr_opt_alias = 315;
913
- static readonly RULE_tablesample_clause = 316;
914
- static readonly RULE_func_table = 317;
915
- static readonly RULE_rowsfrom_item = 318;
916
- static readonly RULE_where_clause = 319;
917
- static readonly RULE_where_or_current_clause = 320;
918
- static readonly RULE_tablefuncelementlist = 321;
919
- static readonly RULE_tablefuncelement = 322;
920
- static readonly RULE_xmltable = 323;
921
- static readonly RULE_xmltable_column_el = 324;
922
- static readonly RULE_xml_namespace_el = 325;
923
- static readonly RULE_typename = 326;
924
- static readonly RULE_simpletypename = 327;
925
- static readonly RULE_consttypename = 328;
926
- static readonly RULE_numeric = 329;
927
- static readonly RULE_opt_float = 330;
928
- static readonly RULE_bit = 331;
929
- static readonly RULE_character = 332;
930
- static readonly RULE_constdatetime = 333;
931
- static readonly RULE_opt_interval = 334;
932
- static readonly RULE_interval_second = 335;
933
- static readonly RULE_comparisonOperator = 336;
934
- static readonly RULE_expression = 337;
935
- static readonly RULE_booleanExpression = 338;
936
- static readonly RULE_predicate = 339;
937
- static readonly RULE_valueExpression = 340;
938
- static readonly RULE_primaryExpression = 341;
939
- static readonly RULE_func_application = 342;
940
- static readonly RULE_func_expr = 343;
941
- static readonly RULE_func_expr_windowless = 344;
942
- static readonly RULE_func_expr_common_subexpr = 345;
943
- static readonly RULE_xml_attribute_list = 346;
944
- static readonly RULE_xml_attribute_el = 347;
945
- static readonly RULE_document_or_content = 348;
946
- static readonly RULE_xmlexists_argument = 349;
947
- static readonly RULE_xml_passing_mech = 350;
948
- static readonly RULE_window_clause = 351;
949
- static readonly RULE_window_definition = 352;
950
- static readonly RULE_over_clause = 353;
951
- static readonly RULE_window_specification = 354;
952
- static readonly RULE_opt_frame_clause = 355;
953
- static readonly RULE_frame_bound = 356;
954
- static readonly RULE_row = 357;
955
- static readonly RULE_explicit_row = 358;
956
- static readonly RULE_sub_type = 359;
957
- static readonly RULE_all_op = 360;
958
- static readonly RULE_mathop = 361;
959
- static readonly RULE_qual_op = 362;
960
- static readonly RULE_qual_all_op = 363;
961
- static readonly RULE_subquery_Op = 364;
962
- static readonly RULE_expr_list = 365;
963
- static readonly RULE_column_expr = 366;
964
- static readonly RULE_column_expr_noparen = 367;
965
- static readonly RULE_func_arg_list = 368;
966
- static readonly RULE_func_arg_expr = 369;
967
- static readonly RULE_array_expr = 370;
968
- static readonly RULE_extract_arg = 371;
969
- static readonly RULE_unicode_normal_form = 372;
970
- static readonly RULE_substr_list = 373;
971
- static readonly RULE_when_clause = 374;
972
- static readonly RULE_indirection_el = 375;
973
- static readonly RULE_indirection = 376;
974
- static readonly RULE_opt_indirection = 377;
975
- static readonly RULE_target_list = 378;
976
- static readonly RULE_target_el = 379;
977
- static readonly RULE_qualified_name_list = 380;
978
- static readonly RULE_table_name_list = 381;
979
- static readonly RULE_schema_name_list = 382;
980
- static readonly RULE_database_nameList = 383;
981
- static readonly RULE_tablespace_name_create = 384;
982
- static readonly RULE_tablespace_name = 385;
983
- static readonly RULE_table_name_create = 386;
984
- static readonly RULE_table_name = 387;
985
- static readonly RULE_view_name_create = 388;
986
- static readonly RULE_view_name = 389;
987
- static readonly RULE_qualified_name = 390;
988
- static readonly RULE_tablespace_name_list = 391;
989
- static readonly RULE_name_list = 392;
990
- static readonly RULE_database_name_create = 393;
991
- static readonly RULE_database_name = 394;
992
- static readonly RULE_schema_name = 395;
993
- static readonly RULE_routine_name_create = 396;
994
- static readonly RULE_routine_name = 397;
995
- static readonly RULE_procedure_name = 398;
996
- static readonly RULE_procedure_name_create = 399;
997
- static readonly RULE_column_name = 400;
998
- static readonly RULE_column_name_create = 401;
999
- static readonly RULE_function_name_create = 402;
1000
- static readonly RULE_function_name = 403;
1001
- static readonly RULE_sconst = 404;
1002
- static readonly RULE_anysconst = 405;
1003
- static readonly RULE_signediconst = 406;
1004
- static readonly RULE_rolespec = 407;
1005
- static readonly RULE_role_list = 408;
1006
- static readonly RULE_colid = 409;
1007
- static readonly RULE_type_function_name = 410;
1008
- static readonly RULE_nonreservedword = 411;
1009
- static readonly RULE_collabel = 412;
1010
- static readonly RULE_identifier = 413;
1011
- static readonly RULE_unreserved_keyword = 414;
1012
- static readonly RULE_col_name_keyword = 415;
1013
- static readonly RULE_type_func_name_keyword = 416;
1014
- static readonly RULE_reserved_keyword = 417;
1015
- static readonly RULE_pl_block = 418;
1016
- static readonly RULE_label_decl = 419;
1017
- static readonly RULE_decl_statement = 420;
1018
- static readonly RULE_decl_cursor_arg = 421;
1019
- static readonly RULE_assign_operator = 422;
1020
- static readonly RULE_proc_stmt = 423;
1021
- static readonly RULE_stmt_perform = 424;
1022
- static readonly RULE_stmt_call = 425;
1023
- static readonly RULE_stmt_assign = 426;
1024
- static readonly RULE_stmt_getdiag = 427;
1025
- static readonly RULE_getdiag_list_item = 428;
1026
- static readonly RULE_assign_var = 429;
1027
- static readonly RULE_stmt_if = 430;
1028
- static readonly RULE_stmt_else = 431;
1029
- static readonly RULE_stmt_case = 432;
1030
- static readonly RULE_stmt_loop_while_for = 433;
1031
- static readonly RULE_for_control = 434;
1032
- static readonly RULE_stmt_foreach_a = 435;
1033
- static readonly RULE_stmt_exit = 436;
1034
- static readonly RULE_stmt_return = 437;
1035
- static readonly RULE_stmt_raise = 438;
1036
- static readonly RULE_opt_raise_using_elem = 439;
1037
- static readonly RULE_stmt_assert = 440;
1038
- static readonly RULE_loop_body = 441;
1039
- static readonly RULE_stmt_execsql = 442;
1040
- static readonly RULE_stmt_dynexecute = 443;
1041
- static readonly RULE_opt_execute_into = 444;
1042
- static readonly RULE_stmt_open = 445;
1043
- static readonly RULE_opt_open_bound_list_item = 446;
1044
- static readonly RULE_stmt_fetch = 447;
1045
- static readonly RULE_opt_fetch_direction = 448;
1046
- static readonly RULE_stmt_move = 449;
1047
- static readonly RULE_mergestmt = 450;
1048
- static readonly RULE_data_source = 451;
1049
- static readonly RULE_merge_when_clause = 452;
1050
- static readonly RULE_merge_insert = 453;
1051
- static readonly RULE_merge_update = 454;
1052
- static readonly RULE_default_values_or_values = 455;
1053
- static readonly RULE_exprofdefault = 456;
1054
- static readonly RULE_stmt_close = 457;
1055
- static readonly RULE_stmt_null = 458;
1056
- static readonly RULE_stmt_commit_or_rollback = 459;
1057
- static readonly RULE_stmt_set = 460;
1058
- static readonly RULE_cursor_variable = 461;
1059
- static readonly RULE_exception_sect = 462;
1060
- static readonly RULE_proc_condition = 463;
1061
- static readonly RULE_any_identifier = 464;
1062
- static readonly RULE_sql_expression = 465;
658
+ static readonly RULE_copyOptionsNoparens = 58;
659
+ static readonly RULE_copyOptions = 59;
660
+ static readonly RULE_copy_generic_opt_elem = 60;
661
+ static readonly RULE_createstmt = 61;
662
+ static readonly RULE_opttemp = 62;
663
+ static readonly RULE_opttypedtableelementlist = 63;
664
+ static readonly RULE_tableelementlist = 64;
665
+ static readonly RULE_tableelement = 65;
666
+ static readonly RULE_typedtableelement = 66;
667
+ static readonly RULE_column_def = 67;
668
+ static readonly RULE_colconstraint = 68;
669
+ static readonly RULE_colconstraintelem = 69;
670
+ static readonly RULE_generated_when = 70;
671
+ static readonly RULE_tablelikeoption = 71;
672
+ static readonly RULE_constraintelem = 72;
673
+ static readonly RULE_opt_column_list = 73;
674
+ static readonly RULE_opt_column_list_create = 74;
675
+ static readonly RULE_column_list = 75;
676
+ static readonly RULE_opt_c_include = 76;
677
+ static readonly RULE_key_match = 77;
678
+ static readonly RULE_exclusionconstraintelem = 78;
679
+ static readonly RULE_key_actions = 79;
680
+ static readonly RULE_key_update = 80;
681
+ static readonly RULE_key_delete = 81;
682
+ static readonly RULE_key_action = 82;
683
+ static readonly RULE_optinherit = 83;
684
+ static readonly RULE_partitionspec = 84;
685
+ static readonly RULE_part_elem = 85;
686
+ static readonly RULE_table_access_method_clause = 86;
687
+ static readonly RULE_optwith = 87;
688
+ static readonly RULE_oncommitoption = 88;
689
+ static readonly RULE_opttablespace = 89;
690
+ static readonly RULE_optconstablespace = 90;
691
+ static readonly RULE_existingindex = 91;
692
+ static readonly RULE_createstatsstmt = 92;
693
+ static readonly RULE_alterstatsstmt = 93;
694
+ static readonly RULE_createasstmt = 94;
695
+ static readonly RULE_create_as_target = 95;
696
+ static readonly RULE_opt_with_data = 96;
697
+ static readonly RULE_creatematviewstmt = 97;
698
+ static readonly RULE_refreshmatviewstmt = 98;
699
+ static readonly RULE_createseqstmt = 99;
700
+ static readonly RULE_alterseqstmt = 100;
701
+ static readonly RULE_seqoptelem = 101;
702
+ static readonly RULE_numericonly = 102;
703
+ static readonly RULE_createplangstmt = 103;
704
+ static readonly RULE_createtablespacestmt = 104;
705
+ static readonly RULE_createextensionstmt = 105;
706
+ static readonly RULE_alterextensionstmt = 106;
707
+ static readonly RULE_alterextensioncontentsstmt = 107;
708
+ static readonly RULE_createfdwstmt = 108;
709
+ static readonly RULE_fdw_option = 109;
710
+ static readonly RULE_alterfdwstmt = 110;
711
+ static readonly RULE_create_generic_options = 111;
712
+ static readonly RULE_alter_generic_options = 112;
713
+ static readonly RULE_alter_generic_option_elem = 113;
714
+ static readonly RULE_generic_option_elem = 114;
715
+ static readonly RULE_createforeignserverstmt = 115;
716
+ static readonly RULE_foreign_server_version = 116;
717
+ static readonly RULE_alterforeignserverstmt = 117;
718
+ static readonly RULE_createforeigntablestmt = 118;
719
+ static readonly RULE_importforeignschemastmt = 119;
720
+ static readonly RULE_createusermappingstmt = 120;
721
+ static readonly RULE_alterusermappingstmt = 121;
722
+ static readonly RULE_createpolicystmt = 122;
723
+ static readonly RULE_alterpolicystmt = 123;
724
+ static readonly RULE_alterprocedurestmt = 124;
725
+ static readonly RULE_procedure_action = 125;
726
+ static readonly RULE_rowsecurityoptionalexpr = 126;
727
+ static readonly RULE_rowsecurityoptionalwithcheck = 127;
728
+ static readonly RULE_createamstmt = 128;
729
+ static readonly RULE_createtrigstmt = 129;
730
+ static readonly RULE_triggeractiontime = 130;
731
+ static readonly RULE_triggerevents = 131;
732
+ static readonly RULE_triggeroneevent = 132;
733
+ static readonly RULE_triggerwhen = 133;
734
+ static readonly RULE_function_or_procedure = 134;
735
+ static readonly RULE_triggerfuncargs = 135;
736
+ static readonly RULE_triggerfuncarg = 136;
737
+ static readonly RULE_constraintattributeElem = 137;
738
+ static readonly RULE_createeventtrigstmt = 138;
739
+ static readonly RULE_event_trigger_when_item = 139;
740
+ static readonly RULE_altereventtrigstmt = 140;
741
+ static readonly RULE_createassertionstmt = 141;
742
+ static readonly RULE_definestmt = 142;
743
+ static readonly RULE_definition = 143;
744
+ static readonly RULE_def_elem = 144;
745
+ static readonly RULE_def_arg = 145;
746
+ static readonly RULE_old_aggr_elem = 146;
747
+ static readonly RULE_alterenumstmt = 147;
748
+ static readonly RULE_opt_if_not_exists = 148;
749
+ static readonly RULE_createopclassstmt = 149;
750
+ static readonly RULE_opclass_item = 150;
751
+ static readonly RULE_createopfamilystmt = 151;
752
+ static readonly RULE_alteropfamilystmt = 152;
753
+ static readonly RULE_opclass_drop = 153;
754
+ static readonly RULE_reassignownedstmt = 154;
755
+ static readonly RULE_dropstmt = 155;
756
+ static readonly RULE_object_type_any_name = 156;
757
+ static readonly RULE_object_type_name = 157;
758
+ static readonly RULE_any_name_list = 158;
759
+ static readonly RULE_any_name = 159;
760
+ static readonly RULE_attrs = 160;
761
+ static readonly RULE_truncatestmt = 161;
762
+ static readonly RULE_truncate_table = 162;
763
+ static readonly RULE_commentstmt = 163;
764
+ static readonly RULE_seclabelstmt = 164;
765
+ static readonly RULE_fetchstmt = 165;
766
+ static readonly RULE_fetch_args = 166;
767
+ static readonly RULE_from_in = 167;
768
+ static readonly RULE_grantstmt = 168;
769
+ static readonly RULE_revokestmt = 169;
770
+ static readonly RULE_privileges = 170;
771
+ static readonly RULE_beforeprivilegeselect = 171;
772
+ static readonly RULE_privilege = 172;
773
+ static readonly RULE_privilege_target = 173;
774
+ static readonly RULE_grantee_list = 174;
775
+ static readonly RULE_grantrolestmt = 175;
776
+ static readonly RULE_revokerolestmt = 176;
777
+ static readonly RULE_alterdefaultprivilegesstmt = 177;
778
+ static readonly RULE_defaclaction = 178;
779
+ static readonly RULE_defacl_privilege_target = 179;
780
+ static readonly RULE_indexstmt = 180;
781
+ static readonly RULE_index_params = 181;
782
+ static readonly RULE_index_elem = 182;
783
+ static readonly RULE_createfunctionstmt = 183;
784
+ static readonly RULE_opt_or_replace = 184;
785
+ static readonly RULE_func_args = 185;
786
+ static readonly RULE_func_args_list = 186;
787
+ static readonly RULE_routine_with_argtypes_list = 187;
788
+ static readonly RULE_routine_with_argtypes = 188;
789
+ static readonly RULE_procedure_with_argtypes_list = 189;
790
+ static readonly RULE_procedure_with_argtypes = 190;
791
+ static readonly RULE_function_with_argtypes_list = 191;
792
+ static readonly RULE_function_with_argtypes = 192;
793
+ static readonly RULE_func_arg = 193;
794
+ static readonly RULE_arg_class = 194;
795
+ static readonly RULE_func_type = 195;
796
+ static readonly RULE_func_arg_with_default = 196;
797
+ static readonly RULE_aggr_args = 197;
798
+ static readonly RULE_aggregate_with_argtypes = 198;
799
+ static readonly RULE_common_func_opt_item = 199;
800
+ static readonly RULE_createfunc_opt_item = 200;
801
+ static readonly RULE_opt_definition = 201;
802
+ static readonly RULE_table_func_column = 202;
803
+ static readonly RULE_alterfunctionstmt = 203;
804
+ static readonly RULE_removefuncstmt = 204;
805
+ static readonly RULE_removeaggrstmt = 205;
806
+ static readonly RULE_removeoperstmt = 206;
807
+ static readonly RULE_oper_argtypes = 207;
808
+ static readonly RULE_any_operator = 208;
809
+ static readonly RULE_operator_with_argtypes = 209;
810
+ static readonly RULE_dostmt = 210;
811
+ static readonly RULE_createcaststmt = 211;
812
+ static readonly RULE_opt_if_exists = 212;
813
+ static readonly RULE_createtransformstmt = 213;
814
+ static readonly RULE_sql_with_function = 214;
815
+ static readonly RULE_reindexstmt = 215;
816
+ static readonly RULE_altertblspcstmt = 216;
817
+ static readonly RULE_renamestmt = 217;
818
+ static readonly RULE_alterobjectdependsstmt = 218;
819
+ static readonly RULE_alterobjectschemastmt = 219;
820
+ static readonly RULE_alteroperatorstmt = 220;
821
+ static readonly RULE_operator_def_list = 221;
822
+ static readonly RULE_operator_def_elem = 222;
823
+ static readonly RULE_altertypestmt = 223;
824
+ static readonly RULE_alterownerstmt = 224;
825
+ static readonly RULE_createpublicationstmt = 225;
826
+ static readonly RULE_alterpublicationstmt = 226;
827
+ static readonly RULE_createsubscriptionstmt = 227;
828
+ static readonly RULE_altersubscriptionstmt = 228;
829
+ static readonly RULE_rulestmt = 229;
830
+ static readonly RULE_ruleactionstmt = 230;
831
+ static readonly RULE_notifystmt = 231;
832
+ static readonly RULE_notify_payload = 232;
833
+ static readonly RULE_listenstmt = 233;
834
+ static readonly RULE_unlistenstmt = 234;
835
+ static readonly RULE_transactionstmt = 235;
836
+ static readonly RULE_opt_transaction = 236;
837
+ static readonly RULE_transaction_mode_item = 237;
838
+ static readonly RULE_transaction_mode_list = 238;
839
+ static readonly RULE_viewstmt = 239;
840
+ static readonly RULE_loadstmt = 240;
841
+ static readonly RULE_createdbstmt = 241;
842
+ static readonly RULE_createdb_opt_item = 242;
843
+ static readonly RULE_alterdatabasestmt = 243;
844
+ static readonly RULE_alterdatabasesetstmt = 244;
845
+ static readonly RULE_altercollationstmt = 245;
846
+ static readonly RULE_altersystemstmt = 246;
847
+ static readonly RULE_createdomainstmt = 247;
848
+ static readonly RULE_alterdomainstmt = 248;
849
+ static readonly RULE_altertsdictionarystmt = 249;
850
+ static readonly RULE_altertsconfigurationstmt = 250;
851
+ static readonly RULE_createconversionstmt = 251;
852
+ static readonly RULE_clusterstmt = 252;
853
+ static readonly RULE_vacuumstmt = 253;
854
+ static readonly RULE_analyzestmt = 254;
855
+ static readonly RULE_analyze_keyword = 255;
856
+ static readonly RULE_vac_analyze_option_elem = 256;
857
+ static readonly RULE_analyze_option_elem = 257;
858
+ static readonly RULE_opt_verbose = 258;
859
+ static readonly RULE_vacuum_relation = 259;
860
+ static readonly RULE_vacuum_relation_list = 260;
861
+ static readonly RULE_explainstmt = 261;
862
+ static readonly RULE_explainablestmt = 262;
863
+ static readonly RULE_explain_option_list = 263;
864
+ static readonly RULE_preparestmt = 264;
865
+ static readonly RULE_prep_type_clause = 265;
866
+ static readonly RULE_preparablestmt = 266;
867
+ static readonly RULE_executestmt = 267;
868
+ static readonly RULE_execute_param_clause = 268;
869
+ static readonly RULE_deallocatestmt = 269;
870
+ static readonly RULE_insertstmt = 270;
871
+ static readonly RULE_insert_rest = 271;
872
+ static readonly RULE_insert_column_list = 272;
873
+ static readonly RULE_insert_column_item = 273;
874
+ static readonly RULE_returning_clause = 274;
875
+ static readonly RULE_deletestmt = 275;
876
+ static readonly RULE_lockstmt = 276;
877
+ static readonly RULE_updatestmt = 277;
878
+ static readonly RULE_set_clause_list = 278;
879
+ static readonly RULE_set_clause = 279;
880
+ static readonly RULE_declarecursorstmt = 280;
881
+ static readonly RULE_selectstmt = 281;
882
+ static readonly RULE_select_with_parens = 282;
883
+ static readonly RULE_select_no_parens = 283;
884
+ static readonly RULE_select_clause = 284;
885
+ static readonly RULE_simple_select = 285;
886
+ static readonly RULE_set_operator_with_all_or_distinct = 286;
887
+ static readonly RULE_with_clause = 287;
888
+ static readonly RULE_common_table_expr = 288;
889
+ static readonly RULE_search_cluase = 289;
890
+ static readonly RULE_cycle_cluase = 290;
891
+ static readonly RULE_into_clause = 291;
892
+ static readonly RULE_opttempTableName = 292;
893
+ static readonly RULE_distinct_clause = 293;
894
+ static readonly RULE_sort_clause = 294;
895
+ static readonly RULE_sortby = 295;
896
+ static readonly RULE_select_limit = 296;
897
+ static readonly RULE_limit_clause = 297;
898
+ static readonly RULE_fetch_clause = 298;
899
+ static readonly RULE_offset_clause = 299;
900
+ static readonly RULE_select_fetch_first_value = 300;
901
+ static readonly RULE_group_clause = 301;
902
+ static readonly RULE_group_by_list = 302;
903
+ static readonly RULE_group_by_item = 303;
904
+ static readonly RULE_for_locking_clause = 304;
905
+ static readonly RULE_values_clause = 305;
906
+ static readonly RULE_from_clause = 306;
907
+ static readonly RULE_from_list = 307;
908
+ static readonly RULE_table_ref = 308;
909
+ static readonly RULE_alias_clause = 309;
910
+ static readonly RULE_func_alias_clause = 310;
911
+ static readonly RULE_join_type = 311;
912
+ static readonly RULE_join_qual = 312;
913
+ static readonly RULE_relation_expr = 313;
914
+ static readonly RULE_publication_relation_expr = 314;
915
+ static readonly RULE_relation_expr_list = 315;
916
+ static readonly RULE_relation_expr_opt_alias = 316;
917
+ static readonly RULE_tablesample_clause = 317;
918
+ static readonly RULE_func_table = 318;
919
+ static readonly RULE_rowsfrom_item = 319;
920
+ static readonly RULE_where_clause = 320;
921
+ static readonly RULE_where_or_current_clause = 321;
922
+ static readonly RULE_tablefuncelementlist = 322;
923
+ static readonly RULE_tablefuncelement = 323;
924
+ static readonly RULE_xmltable = 324;
925
+ static readonly RULE_xmltable_column_el = 325;
926
+ static readonly RULE_xml_namespace_el = 326;
927
+ static readonly RULE_typename = 327;
928
+ static readonly RULE_simpletypename = 328;
929
+ static readonly RULE_consttypename = 329;
930
+ static readonly RULE_numeric = 330;
931
+ static readonly RULE_opt_float = 331;
932
+ static readonly RULE_bit = 332;
933
+ static readonly RULE_character = 333;
934
+ static readonly RULE_constdatetime = 334;
935
+ static readonly RULE_opt_interval = 335;
936
+ static readonly RULE_interval_second = 336;
937
+ static readonly RULE_comparisonOperator = 337;
938
+ static readonly RULE_expression = 338;
939
+ static readonly RULE_booleanExpression = 339;
940
+ static readonly RULE_predicate = 340;
941
+ static readonly RULE_valueExpression = 341;
942
+ static readonly RULE_primaryExpression = 342;
943
+ static readonly RULE_func_application = 343;
944
+ static readonly RULE_func_expr = 344;
945
+ static readonly RULE_func_expr_windowless = 345;
946
+ static readonly RULE_func_expr_common_subexpr = 346;
947
+ static readonly RULE_xml_attribute_list = 347;
948
+ static readonly RULE_xml_attribute_el = 348;
949
+ static readonly RULE_document_or_content = 349;
950
+ static readonly RULE_xmlexists_argument = 350;
951
+ static readonly RULE_xml_passing_mech = 351;
952
+ static readonly RULE_window_clause = 352;
953
+ static readonly RULE_window_definition = 353;
954
+ static readonly RULE_over_clause = 354;
955
+ static readonly RULE_window_specification = 355;
956
+ static readonly RULE_opt_frame_clause = 356;
957
+ static readonly RULE_frame_bound = 357;
958
+ static readonly RULE_row = 358;
959
+ static readonly RULE_explicit_row = 359;
960
+ static readonly RULE_sub_type = 360;
961
+ static readonly RULE_all_op = 361;
962
+ static readonly RULE_mathop = 362;
963
+ static readonly RULE_qual_op = 363;
964
+ static readonly RULE_qual_all_op = 364;
965
+ static readonly RULE_subquery_Op = 365;
966
+ static readonly RULE_expr_list = 366;
967
+ static readonly RULE_column_expr = 367;
968
+ static readonly RULE_column_expr_noparen = 368;
969
+ static readonly RULE_func_arg_list = 369;
970
+ static readonly RULE_func_arg_expr = 370;
971
+ static readonly RULE_array_expr = 371;
972
+ static readonly RULE_extract_arg = 372;
973
+ static readonly RULE_unicode_normal_form = 373;
974
+ static readonly RULE_substr_list = 374;
975
+ static readonly RULE_when_clause = 375;
976
+ static readonly RULE_indirection_el = 376;
977
+ static readonly RULE_indirection = 377;
978
+ static readonly RULE_opt_indirection = 378;
979
+ static readonly RULE_target_list = 379;
980
+ static readonly RULE_target_el = 380;
981
+ static readonly RULE_qualified_name_list = 381;
982
+ static readonly RULE_table_name_list = 382;
983
+ static readonly RULE_schema_name_list = 383;
984
+ static readonly RULE_database_nameList = 384;
985
+ static readonly RULE_tablespace_name_create = 385;
986
+ static readonly RULE_tablespace_name = 386;
987
+ static readonly RULE_table_name_create = 387;
988
+ static readonly RULE_table_name = 388;
989
+ static readonly RULE_view_name_create = 389;
990
+ static readonly RULE_view_name = 390;
991
+ static readonly RULE_qualified_name = 391;
992
+ static readonly RULE_tablespace_name_list = 392;
993
+ static readonly RULE_name_list = 393;
994
+ static readonly RULE_database_name_create = 394;
995
+ static readonly RULE_database_name = 395;
996
+ static readonly RULE_schema_name = 396;
997
+ static readonly RULE_routine_name_create = 397;
998
+ static readonly RULE_routine_name = 398;
999
+ static readonly RULE_procedure_name = 399;
1000
+ static readonly RULE_procedure_name_create = 400;
1001
+ static readonly RULE_column_name = 401;
1002
+ static readonly RULE_column_name_create = 402;
1003
+ static readonly RULE_function_name_create = 403;
1004
+ static readonly RULE_function_name = 404;
1005
+ static readonly RULE_sconst = 405;
1006
+ static readonly RULE_anysconst = 406;
1007
+ static readonly RULE_signediconst = 407;
1008
+ static readonly RULE_rolespec = 408;
1009
+ static readonly RULE_role_list = 409;
1010
+ static readonly RULE_colid = 410;
1011
+ static readonly RULE_type_function_name = 411;
1012
+ static readonly RULE_nonreservedword = 412;
1013
+ static readonly RULE_collabel = 413;
1014
+ static readonly RULE_identifier = 414;
1015
+ static readonly RULE_unreserved_keyword = 415;
1016
+ static readonly RULE_col_name_keyword = 416;
1017
+ static readonly RULE_type_func_name_keyword = 417;
1018
+ static readonly RULE_reserved_keyword = 418;
1019
+ static readonly RULE_pl_block = 419;
1020
+ static readonly RULE_label_decl = 420;
1021
+ static readonly RULE_decl_statement = 421;
1022
+ static readonly RULE_decl_cursor_arg = 422;
1023
+ static readonly RULE_assign_operator = 423;
1024
+ static readonly RULE_proc_stmt = 424;
1025
+ static readonly RULE_stmt_perform = 425;
1026
+ static readonly RULE_stmt_call = 426;
1027
+ static readonly RULE_stmt_assign = 427;
1028
+ static readonly RULE_stmt_getdiag = 428;
1029
+ static readonly RULE_getdiag_list_item = 429;
1030
+ static readonly RULE_assign_var = 430;
1031
+ static readonly RULE_stmt_if = 431;
1032
+ static readonly RULE_stmt_else = 432;
1033
+ static readonly RULE_stmt_case = 433;
1034
+ static readonly RULE_stmt_loop_while_for = 434;
1035
+ static readonly RULE_for_control = 435;
1036
+ static readonly RULE_stmt_foreach_a = 436;
1037
+ static readonly RULE_stmt_exit = 437;
1038
+ static readonly RULE_stmt_return = 438;
1039
+ static readonly RULE_stmt_raise = 439;
1040
+ static readonly RULE_opt_raise_using_elem = 440;
1041
+ static readonly RULE_stmt_assert = 441;
1042
+ static readonly RULE_loop_body = 442;
1043
+ static readonly RULE_stmt_execsql = 443;
1044
+ static readonly RULE_stmt_dynexecute = 444;
1045
+ static readonly RULE_opt_execute_into = 445;
1046
+ static readonly RULE_stmt_open = 446;
1047
+ static readonly RULE_opt_open_bound_list_item = 447;
1048
+ static readonly RULE_stmt_fetch = 448;
1049
+ static readonly RULE_opt_fetch_direction = 449;
1050
+ static readonly RULE_stmt_move = 450;
1051
+ static readonly RULE_mergestmt = 451;
1052
+ static readonly RULE_data_source = 452;
1053
+ static readonly RULE_merge_when_clause = 453;
1054
+ static readonly RULE_merge_insert = 454;
1055
+ static readonly RULE_merge_update = 455;
1056
+ static readonly RULE_default_values_or_values = 456;
1057
+ static readonly RULE_exprofdefault = 457;
1058
+ static readonly RULE_stmt_close = 458;
1059
+ static readonly RULE_stmt_null = 459;
1060
+ static readonly RULE_stmt_commit_or_rollback = 460;
1061
+ static readonly RULE_stmt_set = 461;
1062
+ static readonly RULE_cursor_variable = 462;
1063
+ static readonly RULE_exception_sect = 463;
1064
+ static readonly RULE_proc_condition = 464;
1065
+ static readonly RULE_any_identifier = 465;
1066
+ static readonly RULE_sql_expression = 466;
1063
1067
  static readonly literalNames: (string | null)[];
1064
1068
  static readonly symbolicNames: (string | null)[];
1065
1069
  static readonly ruleNames: string[];
@@ -1128,7 +1132,8 @@ export declare class PostgreSqlParser extends SQLParserBase {
1128
1132
  alter_type_cmd(): Alter_type_cmdContext;
1129
1133
  closeportalstmt(): CloseportalstmtContext;
1130
1134
  copystmt(): CopystmtContext;
1131
- copy_options(): Copy_optionsContext;
1135
+ copyOptionsNoparens(): CopyOptionsNoparensContext;
1136
+ copyOptions(): CopyOptionsContext;
1132
1137
  copy_generic_opt_elem(): Copy_generic_opt_elemContext;
1133
1138
  createstmt(): CreatestmtContext;
1134
1139
  opttemp(): OpttempContext;
@@ -2552,7 +2557,7 @@ export declare class CopystmtContext extends antlr.ParserRuleContext {
2552
2557
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2553
2558
  KW_COPY(): antlr.TerminalNode;
2554
2559
  table_name(): Table_nameContext | null;
2555
- copy_options(): Copy_optionsContext;
2560
+ copyOptions(): CopyOptionsContext;
2556
2561
  KW_FROM(): antlr.TerminalNode | null;
2557
2562
  KW_TO(): antlr.TerminalNode | null;
2558
2563
  sconst(): SconstContext[];
@@ -2574,7 +2579,7 @@ export declare class CopystmtContext extends antlr.ParserRuleContext {
2574
2579
  exitRule(listener: PostgreSqlParserListener): void;
2575
2580
  accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
2576
2581
  }
2577
- export declare class Copy_optionsContext extends antlr.ParserRuleContext {
2582
+ export declare class CopyOptionsNoparensContext extends antlr.ParserRuleContext {
2578
2583
  constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2579
2584
  KW_BINARY(): antlr.TerminalNode[];
2580
2585
  KW_BINARY(i: number): antlr.TerminalNode | null;
@@ -2600,16 +2605,37 @@ export declare class Copy_optionsContext extends antlr.ParserRuleContext {
2600
2605
  KW_DELIMITER(i: number): antlr.TerminalNode | null;
2601
2606
  KW_ESCAPE(): antlr.TerminalNode[];
2602
2607
  KW_ESCAPE(i: number): antlr.TerminalNode | null;
2608
+ KW_FORCE_QUOTE(): antlr.TerminalNode[];
2609
+ KW_FORCE_QUOTE(i: number): antlr.TerminalNode | null;
2610
+ KW_FORCE_NOT_NULL(): antlr.TerminalNode[];
2611
+ KW_FORCE_NOT_NULL(i: number): antlr.TerminalNode | null;
2612
+ KW_FORCE_NULL(): antlr.TerminalNode[];
2613
+ KW_FORCE_NULL(i: number): antlr.TerminalNode | null;
2603
2614
  STAR(): antlr.TerminalNode[];
2604
2615
  STAR(i: number): antlr.TerminalNode | null;
2605
2616
  KW_AS(): antlr.TerminalNode[];
2606
2617
  KW_AS(i: number): antlr.TerminalNode | null;
2607
2618
  KW_NOT(): antlr.TerminalNode[];
2608
2619
  KW_NOT(i: number): antlr.TerminalNode | null;
2620
+ OPEN_PAREN(): antlr.TerminalNode[];
2621
+ OPEN_PAREN(i: number): antlr.TerminalNode | null;
2622
+ CLOSE_PAREN(): antlr.TerminalNode[];
2623
+ CLOSE_PAREN(i: number): antlr.TerminalNode | null;
2624
+ COMMA(): antlr.TerminalNode[];
2625
+ COMMA(i: number): antlr.TerminalNode | null;
2626
+ get ruleIndex(): number;
2627
+ enterRule(listener: PostgreSqlParserListener): void;
2628
+ exitRule(listener: PostgreSqlParserListener): void;
2629
+ accept<Result>(visitor: PostgreSqlParserVisitor<Result>): Result | null;
2630
+ }
2631
+ export declare class CopyOptionsContext extends antlr.ParserRuleContext {
2632
+ constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
2633
+ copyOptionsNoparens(): CopyOptionsNoparensContext[];
2634
+ copyOptionsNoparens(i: number): CopyOptionsNoparensContext | null;
2609
2635
  OPEN_PAREN(): antlr.TerminalNode | null;
2636
+ CLOSE_PAREN(): antlr.TerminalNode | null;
2610
2637
  copy_generic_opt_elem(): Copy_generic_opt_elemContext[];
2611
2638
  copy_generic_opt_elem(i: number): Copy_generic_opt_elemContext | null;
2612
- CLOSE_PAREN(): antlr.TerminalNode | null;
2613
2639
  COMMA(): antlr.TerminalNode[];
2614
2640
  COMMA(i: number): antlr.TerminalNode | null;
2615
2641
  get ruleIndex(): number;
@@ -6138,6 +6164,7 @@ export declare class PreparablestmtContext extends antlr.ParserRuleContext {
6138
6164
  insertstmt(): InsertstmtContext | null;
6139
6165
  updatestmt(): UpdatestmtContext | null;
6140
6166
  deletestmt(): DeletestmtContext | null;
6167
+ mergestmt(): MergestmtContext | null;
6141
6168
  get ruleIndex(): number;
6142
6169
  enterRule(listener: PostgreSqlParserListener): void;
6143
6170
  exitRule(listener: PostgreSqlParserListener): void;
@@ -9393,6 +9420,7 @@ export declare class MergestmtContext extends antlr.ParserRuleContext {
9393
9420
  colid(): ColidContext | null;
9394
9421
  merge_when_clause(): Merge_when_clauseContext[];
9395
9422
  merge_when_clause(i: number): Merge_when_clauseContext | null;
9423
+ returning_clause(): Returning_clauseContext | null;
9396
9424
  KW_AS(): antlr.TerminalNode | null;
9397
9425
  get ruleIndex(): number;
9398
9426
  enterRule(listener: PostgreSqlParserListener): void;