github.com/cockroachdb/cockroachdb-parser@v0.23.3-0.20240213214944-911057d40c9a/pkg/sql/lexbase/keywords.go (about) 1 // Code generated by pkg/sql/lexbase/allkeywords. DO NOT EDIT. 2 3 package lexbase 4 5 var KeywordsCategories = map[string]string{ 6 "abort": "U", 7 "absolute": "U", 8 "access": "U", 9 "action": "U", 10 "add": "U", 11 "admin": "U", 12 "after": "U", 13 "aggregate": "U", 14 "all": "R", 15 "alter": "U", 16 "always": "U", 17 "analyse": "R", 18 "analyze": "R", 19 "and": "R", 20 "annotate_type": "C", 21 "any": "R", 22 "array": "R", 23 "as": "R", 24 "asc": "R", 25 "asensitive": "U", 26 "asymmetric": "R", 27 "as_json": "U", 28 "at": "U", 29 "atomic": "U", 30 "attribute": "U", 31 "authorization": "T", 32 "automatic": "U", 33 "availability": "U", 34 "backup": "U", 35 "backups": "U", 36 "backward": "U", 37 "batch": "U", 38 "before": "U", 39 "begin": "U", 40 "between": "C", 41 "bigint": "C", 42 "binary": "U", 43 "bit": "C", 44 "boolean": "C", 45 "both": "R", 46 "box2d": "C", 47 "bucket_count": "U", 48 "bundle": "U", 49 "by": "U", 50 "cache": "U", 51 "call": "U", 52 "called": "U", 53 "cancel": "U", 54 "cancelquery": "U", 55 "capabilities": "U", 56 "capability": "U", 57 "cascade": "U", 58 "case": "R", 59 "cast": "R", 60 "changefeed": "U", 61 "char": "C", 62 "character": "C", 63 "characteristics": "C", 64 "check": "R", 65 "check_files": "U", 66 "close": "U", 67 "cluster": "U", 68 "clusters": "U", 69 "coalesce": "C", 70 "collate": "R", 71 "collation": "T", 72 "column": "R", 73 "columns": "U", 74 "comment": "U", 75 "comments": "U", 76 "commit": "U", 77 "committed": "U", 78 "compact": "U", 79 "complete": "U", 80 "completions": "U", 81 "concurrently": "R", 82 "configuration": "U", 83 "configurations": "U", 84 "configure": "U", 85 "conflict": "U", 86 "connection": "U", 87 "connections": "U", 88 "constraint": "R", 89 "constraints": "U", 90 "controlchangefeed": "U", 91 "controljob": "U", 92 "conversion": "U", 93 "convert": "U", 94 "copy": "U", 95 "cost": "U", 96 "covering": "U", 97 "create": "R", 98 "createdb": "U", 99 "createlogin": "U", 100 "createrole": "U", 101 "cross": "T", 102 "csv": "U", 103 "cube": "U", 104 "current": "U", 105 "current_catalog": "R", 106 "current_date": "R", 107 "current_role": "R", 108 "current_schema": "R", 109 "current_time": "R", 110 "current_timestamp": "R", 111 "current_user": "R", 112 "cursor": "U", 113 "cycle": "U", 114 "data": "U", 115 "database": "U", 116 "databases": "U", 117 "day": "U", 118 "deallocate": "U", 119 "debug_dump_metadata_sst": "U", 120 "debug_ids": "U", 121 "debug_pause_on": "U", 122 "dec": "C", 123 "decimal": "C", 124 "declare": "U", 125 "default": "R", 126 "defaults": "U", 127 "deferrable": "R", 128 "deferred": "U", 129 "definer": "U", 130 "delete": "U", 131 "delimiter": "U", 132 "depends": "U", 133 "desc": "R", 134 "destination": "U", 135 "detached": "U", 136 "details": "U", 137 "discard": "U", 138 "distinct": "R", 139 "do": "R", 140 "domain": "U", 141 "double": "U", 142 "drop": "U", 143 "else": "R", 144 "encoding": "U", 145 "encrypted": "U", 146 "encryption_info_dir": "U", 147 "encryption_passphrase": "U", 148 "end": "R", 149 "enum": "U", 150 "enums": "U", 151 "escape": "U", 152 "except": "R", 153 "exclude": "U", 154 "excluding": "U", 155 "execute": "U", 156 "execution": "U", 157 "exists": "C", 158 "experimental": "U", 159 "experimental_audit": "U", 160 "experimental_fingerprints": "U", 161 "experimental_relocate": "U", 162 "experimental_replica": "U", 163 "expiration": "U", 164 "explain": "U", 165 "export": "U", 166 "extension": "U", 167 "external": "U", 168 "extract": "C", 169 "extract_duration": "C", 170 "extremes": "U", 171 "failure": "U", 172 "false": "R", 173 "family": "T", 174 "fetch": "R", 175 "files": "U", 176 "filter": "U", 177 "first": "U", 178 "float": "C", 179 "following": "U", 180 "for": "R", 181 "force": "U", 182 "force_index": "U", 183 "force_not_null": "U", 184 "force_null": "U", 185 "force_quote": "U", 186 "force_zigzag": "U", 187 "foreign": "R", 188 "format": "U", 189 "forward": "U", 190 "freeze": "U", 191 "from": "R", 192 "full": "T", 193 "function": "U", 194 "functions": "U", 195 "generated": "U", 196 "geography": "C", 197 "geometry": "C", 198 "geometrycollection": "U", 199 "geometrycollectionm": "U", 200 "geometrycollectionz": "U", 201 "geometrycollectionzm": "U", 202 "geometrym": "U", 203 "geometryz": "U", 204 "geometryzm": "U", 205 "global": "U", 206 "goal": "U", 207 "grant": "R", 208 "grantee": "U", 209 "grants": "U", 210 "greatest": "C", 211 "group": "R", 212 "grouping": "C", 213 "groups": "U", 214 "hash": "U", 215 "having": "R", 216 "header": "U", 217 "high": "U", 218 "histogram": "U", 219 "hold": "U", 220 "hour": "U", 221 "identity": "U", 222 "if": "C", 223 "iferror": "C", 224 "ifnull": "C", 225 "ignore_foreign_keys": "U", 226 "ilike": "T", 227 "immediate": "U", 228 "immutable": "U", 229 "import": "U", 230 "in": "R", 231 "include": "U", 232 "include_all_secondary_tenants": "U", 233 "include_all_virtual_clusters": "U", 234 "including": "U", 235 "increment": "U", 236 "incremental": "U", 237 "incremental_location": "U", 238 "index": "U", 239 "indexes": "U", 240 "index_after_order_by_before_at": "R", 241 "index_before_name_then_paren": "R", 242 "index_before_paren": "R", 243 "inherits": "U", 244 "initially": "R", 245 "inject": "U", 246 "inner": "T", 247 "inout": "C", 248 "input": "U", 249 "insensitive": "U", 250 "insert": "U", 251 "int": "C", 252 "integer": "C", 253 "intersect": "R", 254 "interval": "C", 255 "into": "R", 256 "into_db": "U", 257 "inverted": "U", 258 "invisible": "U", 259 "invoker": "U", 260 "is": "T", 261 "iserror": "C", 262 "isnull": "T", 263 "isolation": "U", 264 "job": "U", 265 "jobs": "U", 266 "join": "T", 267 "json": "U", 268 "key": "U", 269 "keys": "U", 270 "kms": "U", 271 "kv": "U", 272 "label": "U", 273 "language": "U", 274 "last": "U", 275 "lateral": "R", 276 "latest": "U", 277 "lc_collate": "U", 278 "lc_ctype": "U", 279 "leading": "R", 280 "leakproof": "U", 281 "lease": "U", 282 "least": "C", 283 "left": "T", 284 "less": "U", 285 "level": "U", 286 "like": "T", 287 "limit": "R", 288 "linestring": "U", 289 "linestringm": "U", 290 "linestringz": "U", 291 "linestringzm": "U", 292 "list": "U", 293 "local": "U", 294 "locality": "U", 295 "localtime": "R", 296 "localtimestamp": "R", 297 "locked": "U", 298 "login": "U", 299 "lookup": "U", 300 "low": "U", 301 "match": "U", 302 "materialized": "U", 303 "maxvalue": "U", 304 "merge": "U", 305 "method": "U", 306 "minute": "U", 307 "minvalue": "U", 308 "modifyclustersetting": "U", 309 "modifysqlclustersetting": "U", 310 "month": "U", 311 "move": "U", 312 "multilinestring": "U", 313 "multilinestringm": "U", 314 "multilinestringz": "U", 315 "multilinestringzm": "U", 316 "multipoint": "U", 317 "multipointm": "U", 318 "multipointz": "U", 319 "multipointzm": "U", 320 "multipolygon": "U", 321 "multipolygonm": "U", 322 "multipolygonz": "U", 323 "multipolygonzm": "U", 324 "names": "U", 325 "nan": "U", 326 "natural": "T", 327 "never": "U", 328 "new_db_name": "U", 329 "new_kms": "U", 330 "next": "U", 331 "no": "U", 332 "nocancelquery": "U", 333 "nocontrolchangefeed": "U", 334 "nocontroljob": "U", 335 "nocreatedb": "U", 336 "nocreatelogin": "U", 337 "nocreaterole": "U", 338 "nologin": "U", 339 "nomodifyclustersetting": "U", 340 "none": "T", 341 "nonvoters": "U", 342 "noreplication": "U", 343 "normal": "U", 344 "nosqllogin": "U", 345 "not": "R", 346 "nothing": "U", 347 "nothing_after_returning": "R", 348 "notnull": "T", 349 "noviewactivity": "U", 350 "noviewactivityredacted": "U", 351 "noviewclustersetting": "U", 352 "nowait": "U", 353 "no_full_scan": "U", 354 "no_index_join": "U", 355 "no_zigzag_join": "U", 356 "null": "R", 357 "nullif": "C", 358 "nulls": "U", 359 "numeric": "C", 360 "of": "U", 361 "off": "U", 362 "offset": "R", 363 "oids": "U", 364 "old_kms": "U", 365 "on": "R", 366 "only": "R", 367 "operator": "U", 368 "opt": "U", 369 "option": "U", 370 "options": "U", 371 "or": "R", 372 "order": "R", 373 "ordinality": "U", 374 "others": "U", 375 "out": "C", 376 "outer": "T", 377 "over": "U", 378 "overlaps": "T", 379 "overlay": "C", 380 "owned": "U", 381 "owner": "U", 382 "parallel": "U", 383 "parent": "U", 384 "partial": "U", 385 "partition": "U", 386 "partitions": "U", 387 "password": "U", 388 "pause": "U", 389 "paused": "U", 390 "physical": "U", 391 "placement": "U", 392 "placing": "R", 393 "plan": "U", 394 "plans": "U", 395 "point": "C", 396 "pointm": "U", 397 "pointz": "U", 398 "pointzm": "U", 399 "polygon": "C", 400 "polygonm": "U", 401 "polygonz": "U", 402 "polygonzm": "U", 403 "position": "C", 404 "preceding": "U", 405 "precision": "C", 406 "prepare": "U", 407 "preserve": "U", 408 "primary": "R", 409 "prior": "U", 410 "priority": "U", 411 "privileges": "U", 412 "procedure": "U", 413 "procedures": "U", 414 "public": "U", 415 "publication": "U", 416 "queries": "U", 417 "query": "U", 418 "quote": "U", 419 "range": "U", 420 "ranges": "U", 421 "read": "U", 422 "real": "C", 423 "reason": "U", 424 "reassign": "U", 425 "recurring": "U", 426 "recursive": "U", 427 "redact": "U", 428 "ref": "U", 429 "references": "R", 430 "refresh": "U", 431 "region": "U", 432 "regional": "U", 433 "regions": "U", 434 "reindex": "U", 435 "relative": "U", 436 "release": "U", 437 "relocate": "U", 438 "remove_regions": "U", 439 "rename": "U", 440 "repeatable": "U", 441 "replace": "U", 442 "replication": "U", 443 "reset": "U", 444 "restart": "U", 445 "restore": "U", 446 "restrict": "U", 447 "restricted": "U", 448 "resume": "U", 449 "retention": "U", 450 "retry": "U", 451 "return": "U", 452 "returning": "R", 453 "returns": "U", 454 "revision_history": "U", 455 "revoke": "U", 456 "right": "T", 457 "role": "U", 458 "roles": "U", 459 "rollback": "U", 460 "rollup": "U", 461 "routines": "U", 462 "row": "C", 463 "rows": "U", 464 "rule": "U", 465 "running": "U", 466 "savepoint": "U", 467 "scans": "U", 468 "scatter": "U", 469 "schedule": "U", 470 "schedules": "U", 471 "schema": "U", 472 "schemas": "U", 473 "schema_only": "U", 474 "scroll": "U", 475 "scrub": "U", 476 "search": "U", 477 "second": "U", 478 "secondary": "U", 479 "security": "U", 480 "select": "R", 481 "sequence": "U", 482 "sequences": "U", 483 "serializable": "U", 484 "server": "U", 485 "service": "U", 486 "session": "U", 487 "sessions": "U", 488 "session_user": "R", 489 "set": "U", 490 "setof": "C", 491 "sets": "U", 492 "setting": "U", 493 "settings": "U", 494 "share": "U", 495 "shared": "U", 496 "show": "U", 497 "similar": "T", 498 "simple": "U", 499 "size": "U", 500 "skip": "U", 501 "skip_localities_check": "U", 502 "skip_missing_foreign_keys": "U", 503 "skip_missing_sequences": "U", 504 "skip_missing_sequence_owners": "U", 505 "skip_missing_udfs": "U", 506 "skip_missing_views": "U", 507 "smallint": "C", 508 "snapshot": "U", 509 "some": "R", 510 "split": "U", 511 "sql": "U", 512 "sqllogin": "U", 513 "stable": "U", 514 "start": "U", 515 "state": "U", 516 "statements": "U", 517 "statistics": "U", 518 "status": "U", 519 "stdin": "U", 520 "stdout": "U", 521 "stop": "U", 522 "storage": "U", 523 "store": "U", 524 "stored": "U", 525 "storing": "U", 526 "stream": "U", 527 "strict": "U", 528 "string": "C", 529 "subscription": "U", 530 "substring": "C", 531 "super": "U", 532 "support": "U", 533 "survival": "U", 534 "survive": "U", 535 "symmetric": "R", 536 "syntax": "U", 537 "system": "U", 538 "table": "R", 539 "tables": "U", 540 "tablespace": "U", 541 "temp": "U", 542 "template": "U", 543 "temporary": "U", 544 "tenant": "U", 545 "tenants": "U", 546 "tenant_name": "U", 547 "testing_relocate": "U", 548 "text": "U", 549 "then": "R", 550 "throttling": "U", 551 "ties": "U", 552 "time": "C", 553 "timestamp": "C", 554 "timestamptz": "C", 555 "timetz": "C", 556 "to": "R", 557 "trace": "U", 558 "tracing": "U", 559 "trailing": "R", 560 "transaction": "U", 561 "transactions": "U", 562 "transfer": "U", 563 "transform": "U", 564 "treat": "C", 565 "trigger": "U", 566 "trim": "C", 567 "true": "R", 568 "truncate": "U", 569 "trusted": "U", 570 "type": "U", 571 "types": "U", 572 "unbounded": "U", 573 "uncommitted": "U", 574 "union": "R", 575 "unique": "R", 576 "unknown": "U", 577 "unlisten": "U", 578 "unlogged": "U", 579 "unsafe_restore_incompatible_version": "U", 580 "unset": "U", 581 "unsplit": "U", 582 "until": "U", 583 "update": "U", 584 "updates_cluster_monitoring_metrics": "U", 585 "upsert": "U", 586 "use": "U", 587 "user": "R", 588 "users": "U", 589 "using": "R", 590 "valid": "U", 591 "validate": "U", 592 "value": "U", 593 "values": "C", 594 "varbit": "C", 595 "varchar": "C", 596 "variadic": "R", 597 "varying": "U", 598 "verify_backup_table_data": "U", 599 "view": "U", 600 "viewactivity": "U", 601 "viewactivityredacted": "U", 602 "viewclustermetadata": "U", 603 "viewclustersetting": "U", 604 "viewdebug": "U", 605 "virtual": "C", 606 "virtual_cluster": "U", 607 "virtual_cluster_name": "U", 608 "visibility": "U", 609 "visible": "U", 610 "volatile": "U", 611 "voters": "U", 612 "when": "R", 613 "where": "R", 614 "window": "R", 615 "with": "R", 616 "within": "U", 617 "without": "U", 618 "work": "C", 619 "write": "U", 620 "year": "U", 621 "zone": "U", 622 } 623 624 // KeywordNames contains all keywords sorted, so that pg_get_keywords returns 625 // deterministic results. 626 var KeywordNames = []string{ 627 "abort", 628 "absolute", 629 "access", 630 "action", 631 "add", 632 "admin", 633 "after", 634 "aggregate", 635 "all", 636 "alter", 637 "always", 638 "analyse", 639 "analyze", 640 "and", 641 "annotate_type", 642 "any", 643 "array", 644 "as", 645 "asc", 646 "asensitive", 647 "asymmetric", 648 "as_json", 649 "at", 650 "atomic", 651 "attribute", 652 "authorization", 653 "automatic", 654 "availability", 655 "backup", 656 "backups", 657 "backward", 658 "batch", 659 "before", 660 "begin", 661 "between", 662 "bigint", 663 "binary", 664 "bit", 665 "boolean", 666 "both", 667 "box2d", 668 "bucket_count", 669 "bundle", 670 "by", 671 "cache", 672 "call", 673 "called", 674 "cancel", 675 "cancelquery", 676 "capabilities", 677 "capability", 678 "cascade", 679 "case", 680 "cast", 681 "changefeed", 682 "char", 683 "character", 684 "characteristics", 685 "check", 686 "check_files", 687 "close", 688 "cluster", 689 "clusters", 690 "coalesce", 691 "collate", 692 "collation", 693 "column", 694 "columns", 695 "comment", 696 "comments", 697 "commit", 698 "committed", 699 "compact", 700 "complete", 701 "completions", 702 "concurrently", 703 "configuration", 704 "configurations", 705 "configure", 706 "conflict", 707 "connection", 708 "connections", 709 "constraint", 710 "constraints", 711 "controlchangefeed", 712 "controljob", 713 "conversion", 714 "convert", 715 "copy", 716 "cost", 717 "covering", 718 "create", 719 "createdb", 720 "createlogin", 721 "createrole", 722 "cross", 723 "csv", 724 "cube", 725 "current", 726 "current_catalog", 727 "current_date", 728 "current_role", 729 "current_schema", 730 "current_time", 731 "current_timestamp", 732 "current_user", 733 "cursor", 734 "cycle", 735 "data", 736 "database", 737 "databases", 738 "day", 739 "deallocate", 740 "debug_dump_metadata_sst", 741 "debug_ids", 742 "debug_pause_on", 743 "dec", 744 "decimal", 745 "declare", 746 "default", 747 "defaults", 748 "deferrable", 749 "deferred", 750 "definer", 751 "delete", 752 "delimiter", 753 "depends", 754 "desc", 755 "destination", 756 "detached", 757 "details", 758 "discard", 759 "distinct", 760 "do", 761 "domain", 762 "double", 763 "drop", 764 "else", 765 "encoding", 766 "encrypted", 767 "encryption_info_dir", 768 "encryption_passphrase", 769 "end", 770 "enum", 771 "enums", 772 "escape", 773 "except", 774 "exclude", 775 "excluding", 776 "execute", 777 "execution", 778 "exists", 779 "experimental", 780 "experimental_audit", 781 "experimental_fingerprints", 782 "experimental_relocate", 783 "experimental_replica", 784 "expiration", 785 "explain", 786 "export", 787 "extension", 788 "external", 789 "extract", 790 "extract_duration", 791 "extremes", 792 "failure", 793 "false", 794 "family", 795 "fetch", 796 "files", 797 "filter", 798 "first", 799 "float", 800 "following", 801 "for", 802 "force", 803 "force_index", 804 "force_not_null", 805 "force_null", 806 "force_quote", 807 "force_zigzag", 808 "foreign", 809 "format", 810 "forward", 811 "freeze", 812 "from", 813 "full", 814 "function", 815 "functions", 816 "generated", 817 "geography", 818 "geometry", 819 "geometrycollection", 820 "geometrycollectionm", 821 "geometrycollectionz", 822 "geometrycollectionzm", 823 "geometrym", 824 "geometryz", 825 "geometryzm", 826 "global", 827 "goal", 828 "grant", 829 "grantee", 830 "grants", 831 "greatest", 832 "group", 833 "grouping", 834 "groups", 835 "hash", 836 "having", 837 "header", 838 "high", 839 "histogram", 840 "hold", 841 "hour", 842 "identity", 843 "if", 844 "iferror", 845 "ifnull", 846 "ignore_foreign_keys", 847 "ilike", 848 "immediate", 849 "immutable", 850 "import", 851 "in", 852 "include", 853 "include_all_secondary_tenants", 854 "include_all_virtual_clusters", 855 "including", 856 "increment", 857 "incremental", 858 "incremental_location", 859 "index", 860 "indexes", 861 "index_after_order_by_before_at", 862 "index_before_name_then_paren", 863 "index_before_paren", 864 "inherits", 865 "initially", 866 "inject", 867 "inner", 868 "inout", 869 "input", 870 "insensitive", 871 "insert", 872 "int", 873 "integer", 874 "intersect", 875 "interval", 876 "into", 877 "into_db", 878 "inverted", 879 "invisible", 880 "invoker", 881 "is", 882 "iserror", 883 "isnull", 884 "isolation", 885 "job", 886 "jobs", 887 "join", 888 "json", 889 "key", 890 "keys", 891 "kms", 892 "kv", 893 "label", 894 "language", 895 "last", 896 "lateral", 897 "latest", 898 "lc_collate", 899 "lc_ctype", 900 "leading", 901 "leakproof", 902 "lease", 903 "least", 904 "left", 905 "less", 906 "level", 907 "like", 908 "limit", 909 "linestring", 910 "linestringm", 911 "linestringz", 912 "linestringzm", 913 "list", 914 "local", 915 "locality", 916 "localtime", 917 "localtimestamp", 918 "locked", 919 "login", 920 "lookup", 921 "low", 922 "match", 923 "materialized", 924 "maxvalue", 925 "merge", 926 "method", 927 "minute", 928 "minvalue", 929 "modifyclustersetting", 930 "modifysqlclustersetting", 931 "month", 932 "move", 933 "multilinestring", 934 "multilinestringm", 935 "multilinestringz", 936 "multilinestringzm", 937 "multipoint", 938 "multipointm", 939 "multipointz", 940 "multipointzm", 941 "multipolygon", 942 "multipolygonm", 943 "multipolygonz", 944 "multipolygonzm", 945 "names", 946 "nan", 947 "natural", 948 "never", 949 "new_db_name", 950 "new_kms", 951 "next", 952 "no", 953 "nocancelquery", 954 "nocontrolchangefeed", 955 "nocontroljob", 956 "nocreatedb", 957 "nocreatelogin", 958 "nocreaterole", 959 "nologin", 960 "nomodifyclustersetting", 961 "none", 962 "nonvoters", 963 "noreplication", 964 "normal", 965 "nosqllogin", 966 "not", 967 "nothing", 968 "nothing_after_returning", 969 "notnull", 970 "noviewactivity", 971 "noviewactivityredacted", 972 "noviewclustersetting", 973 "nowait", 974 "no_full_scan", 975 "no_index_join", 976 "no_zigzag_join", 977 "null", 978 "nullif", 979 "nulls", 980 "numeric", 981 "of", 982 "off", 983 "offset", 984 "oids", 985 "old_kms", 986 "on", 987 "only", 988 "operator", 989 "opt", 990 "option", 991 "options", 992 "or", 993 "order", 994 "ordinality", 995 "others", 996 "out", 997 "outer", 998 "over", 999 "overlaps", 1000 "overlay", 1001 "owned", 1002 "owner", 1003 "parallel", 1004 "parent", 1005 "partial", 1006 "partition", 1007 "partitions", 1008 "password", 1009 "pause", 1010 "paused", 1011 "physical", 1012 "placement", 1013 "placing", 1014 "plan", 1015 "plans", 1016 "point", 1017 "pointm", 1018 "pointz", 1019 "pointzm", 1020 "polygon", 1021 "polygonm", 1022 "polygonz", 1023 "polygonzm", 1024 "position", 1025 "preceding", 1026 "precision", 1027 "prepare", 1028 "preserve", 1029 "primary", 1030 "prior", 1031 "priority", 1032 "privileges", 1033 "procedure", 1034 "procedures", 1035 "public", 1036 "publication", 1037 "queries", 1038 "query", 1039 "quote", 1040 "range", 1041 "ranges", 1042 "read", 1043 "real", 1044 "reason", 1045 "reassign", 1046 "recurring", 1047 "recursive", 1048 "redact", 1049 "ref", 1050 "references", 1051 "refresh", 1052 "region", 1053 "regional", 1054 "regions", 1055 "reindex", 1056 "relative", 1057 "release", 1058 "relocate", 1059 "remove_regions", 1060 "rename", 1061 "repeatable", 1062 "replace", 1063 "replication", 1064 "reset", 1065 "restart", 1066 "restore", 1067 "restrict", 1068 "restricted", 1069 "resume", 1070 "retention", 1071 "retry", 1072 "return", 1073 "returning", 1074 "returns", 1075 "revision_history", 1076 "revoke", 1077 "right", 1078 "role", 1079 "roles", 1080 "rollback", 1081 "rollup", 1082 "routines", 1083 "row", 1084 "rows", 1085 "rule", 1086 "running", 1087 "savepoint", 1088 "scans", 1089 "scatter", 1090 "schedule", 1091 "schedules", 1092 "schema", 1093 "schemas", 1094 "schema_only", 1095 "scroll", 1096 "scrub", 1097 "search", 1098 "second", 1099 "secondary", 1100 "security", 1101 "select", 1102 "sequence", 1103 "sequences", 1104 "serializable", 1105 "server", 1106 "service", 1107 "session", 1108 "sessions", 1109 "session_user", 1110 "set", 1111 "setof", 1112 "sets", 1113 "setting", 1114 "settings", 1115 "share", 1116 "shared", 1117 "show", 1118 "similar", 1119 "simple", 1120 "size", 1121 "skip", 1122 "skip_localities_check", 1123 "skip_missing_foreign_keys", 1124 "skip_missing_sequences", 1125 "skip_missing_sequence_owners", 1126 "skip_missing_udfs", 1127 "skip_missing_views", 1128 "smallint", 1129 "snapshot", 1130 "some", 1131 "split", 1132 "sql", 1133 "sqllogin", 1134 "stable", 1135 "start", 1136 "state", 1137 "statements", 1138 "statistics", 1139 "status", 1140 "stdin", 1141 "stdout", 1142 "stop", 1143 "storage", 1144 "store", 1145 "stored", 1146 "storing", 1147 "stream", 1148 "strict", 1149 "string", 1150 "subscription", 1151 "substring", 1152 "super", 1153 "support", 1154 "survival", 1155 "survive", 1156 "symmetric", 1157 "syntax", 1158 "system", 1159 "table", 1160 "tables", 1161 "tablespace", 1162 "temp", 1163 "template", 1164 "temporary", 1165 "tenant", 1166 "tenants", 1167 "tenant_name", 1168 "testing_relocate", 1169 "text", 1170 "then", 1171 "throttling", 1172 "ties", 1173 "time", 1174 "timestamp", 1175 "timestamptz", 1176 "timetz", 1177 "to", 1178 "trace", 1179 "tracing", 1180 "trailing", 1181 "transaction", 1182 "transactions", 1183 "transfer", 1184 "transform", 1185 "treat", 1186 "trigger", 1187 "trim", 1188 "true", 1189 "truncate", 1190 "trusted", 1191 "type", 1192 "types", 1193 "unbounded", 1194 "uncommitted", 1195 "union", 1196 "unique", 1197 "unknown", 1198 "unlisten", 1199 "unlogged", 1200 "unsafe_restore_incompatible_version", 1201 "unset", 1202 "unsplit", 1203 "until", 1204 "update", 1205 "updates_cluster_monitoring_metrics", 1206 "upsert", 1207 "use", 1208 "user", 1209 "users", 1210 "using", 1211 "valid", 1212 "validate", 1213 "value", 1214 "values", 1215 "varbit", 1216 "varchar", 1217 "variadic", 1218 "varying", 1219 "verify_backup_table_data", 1220 "view", 1221 "viewactivity", 1222 "viewactivityredacted", 1223 "viewclustermetadata", 1224 "viewclustersetting", 1225 "viewdebug", 1226 "virtual", 1227 "virtual_cluster", 1228 "virtual_cluster_name", 1229 "visibility", 1230 "visible", 1231 "volatile", 1232 "voters", 1233 "when", 1234 "where", 1235 "window", 1236 "with", 1237 "within", 1238 "without", 1239 "work", 1240 "write", 1241 "year", 1242 "zone", 1243 } 1244 1245 // GetKeywordID returns the lex id of the SQL keyword k or IDENT if k is 1246 // not a keyword. 1247 func GetKeywordID(k string) int32 { 1248 // The previous implementation generated a map that did a string -> 1249 // id lookup. Various ideas were benchmarked and the implementation below 1250 // was the fastest of those, between 3% and 10% faster (at parsing, so the 1251 // scanning speedup is even more) than the map implementation. 1252 switch k { 1253 case "abort": return ABORT 1254 case "absolute": return ABSOLUTE 1255 case "access": return ACCESS 1256 case "action": return ACTION 1257 case "add": return ADD 1258 case "admin": return ADMIN 1259 case "after": return AFTER 1260 case "aggregate": return AGGREGATE 1261 case "all": return ALL 1262 case "alter": return ALTER 1263 case "always": return ALWAYS 1264 case "analyse": return ANALYSE 1265 case "analyze": return ANALYZE 1266 case "and": return AND 1267 case "annotate_type": return ANNOTATE_TYPE 1268 case "any": return ANY 1269 case "array": return ARRAY 1270 case "as": return AS 1271 case "asc": return ASC 1272 case "asensitive": return ASENSITIVE 1273 case "asymmetric": return ASYMMETRIC 1274 case "as_json": return AS_JSON 1275 case "at": return AT 1276 case "atomic": return ATOMIC 1277 case "attribute": return ATTRIBUTE 1278 case "authorization": return AUTHORIZATION 1279 case "automatic": return AUTOMATIC 1280 case "availability": return AVAILABILITY 1281 case "backup": return BACKUP 1282 case "backups": return BACKUPS 1283 case "backward": return BACKWARD 1284 case "batch": return BATCH 1285 case "before": return BEFORE 1286 case "begin": return BEGIN 1287 case "between": return BETWEEN 1288 case "bigint": return BIGINT 1289 case "binary": return BINARY 1290 case "bit": return BIT 1291 case "boolean": return BOOLEAN 1292 case "both": return BOTH 1293 case "box2d": return BOX2D 1294 case "bucket_count": return BUCKET_COUNT 1295 case "bundle": return BUNDLE 1296 case "by": return BY 1297 case "cache": return CACHE 1298 case "call": return CALL 1299 case "called": return CALLED 1300 case "cancel": return CANCEL 1301 case "cancelquery": return CANCELQUERY 1302 case "capabilities": return CAPABILITIES 1303 case "capability": return CAPABILITY 1304 case "cascade": return CASCADE 1305 case "case": return CASE 1306 case "cast": return CAST 1307 case "changefeed": return CHANGEFEED 1308 case "char": return CHAR 1309 case "character": return CHARACTER 1310 case "characteristics": return CHARACTERISTICS 1311 case "check": return CHECK 1312 case "check_files": return CHECK_FILES 1313 case "close": return CLOSE 1314 case "cluster": return CLUSTER 1315 case "clusters": return CLUSTERS 1316 case "coalesce": return COALESCE 1317 case "collate": return COLLATE 1318 case "collation": return COLLATION 1319 case "column": return COLUMN 1320 case "columns": return COLUMNS 1321 case "comment": return COMMENT 1322 case "comments": return COMMENTS 1323 case "commit": return COMMIT 1324 case "committed": return COMMITTED 1325 case "compact": return COMPACT 1326 case "complete": return COMPLETE 1327 case "completions": return COMPLETIONS 1328 case "concurrently": return CONCURRENTLY 1329 case "configuration": return CONFIGURATION 1330 case "configurations": return CONFIGURATIONS 1331 case "configure": return CONFIGURE 1332 case "conflict": return CONFLICT 1333 case "connection": return CONNECTION 1334 case "connections": return CONNECTIONS 1335 case "constraint": return CONSTRAINT 1336 case "constraints": return CONSTRAINTS 1337 case "controlchangefeed": return CONTROLCHANGEFEED 1338 case "controljob": return CONTROLJOB 1339 case "conversion": return CONVERSION 1340 case "convert": return CONVERT 1341 case "copy": return COPY 1342 case "cost": return COST 1343 case "covering": return COVERING 1344 case "create": return CREATE 1345 case "createdb": return CREATEDB 1346 case "createlogin": return CREATELOGIN 1347 case "createrole": return CREATEROLE 1348 case "cross": return CROSS 1349 case "csv": return CSV 1350 case "cube": return CUBE 1351 case "current": return CURRENT 1352 case "current_catalog": return CURRENT_CATALOG 1353 case "current_date": return CURRENT_DATE 1354 case "current_role": return CURRENT_ROLE 1355 case "current_schema": return CURRENT_SCHEMA 1356 case "current_time": return CURRENT_TIME 1357 case "current_timestamp": return CURRENT_TIMESTAMP 1358 case "current_user": return CURRENT_USER 1359 case "cursor": return CURSOR 1360 case "cycle": return CYCLE 1361 case "data": return DATA 1362 case "database": return DATABASE 1363 case "databases": return DATABASES 1364 case "day": return DAY 1365 case "deallocate": return DEALLOCATE 1366 case "debug_dump_metadata_sst": return DEBUG_DUMP_METADATA_SST 1367 case "debug_ids": return DEBUG_IDS 1368 case "debug_pause_on": return DEBUG_PAUSE_ON 1369 case "dec": return DEC 1370 case "decimal": return DECIMAL 1371 case "declare": return DECLARE 1372 case "default": return DEFAULT 1373 case "defaults": return DEFAULTS 1374 case "deferrable": return DEFERRABLE 1375 case "deferred": return DEFERRED 1376 case "definer": return DEFINER 1377 case "delete": return DELETE 1378 case "delimiter": return DELIMITER 1379 case "depends": return DEPENDS 1380 case "desc": return DESC 1381 case "destination": return DESTINATION 1382 case "detached": return DETACHED 1383 case "details": return DETAILS 1384 case "discard": return DISCARD 1385 case "distinct": return DISTINCT 1386 case "do": return DO 1387 case "domain": return DOMAIN 1388 case "double": return DOUBLE 1389 case "drop": return DROP 1390 case "else": return ELSE 1391 case "encoding": return ENCODING 1392 case "encrypted": return ENCRYPTED 1393 case "encryption_info_dir": return ENCRYPTION_INFO_DIR 1394 case "encryption_passphrase": return ENCRYPTION_PASSPHRASE 1395 case "end": return END 1396 case "enum": return ENUM 1397 case "enums": return ENUMS 1398 case "escape": return ESCAPE 1399 case "except": return EXCEPT 1400 case "exclude": return EXCLUDE 1401 case "excluding": return EXCLUDING 1402 case "execute": return EXECUTE 1403 case "execution": return EXECUTION 1404 case "exists": return EXISTS 1405 case "experimental": return EXPERIMENTAL 1406 case "experimental_audit": return EXPERIMENTAL_AUDIT 1407 case "experimental_fingerprints": return EXPERIMENTAL_FINGERPRINTS 1408 case "experimental_relocate": return EXPERIMENTAL_RELOCATE 1409 case "experimental_replica": return EXPERIMENTAL_REPLICA 1410 case "expiration": return EXPIRATION 1411 case "explain": return EXPLAIN 1412 case "export": return EXPORT 1413 case "extension": return EXTENSION 1414 case "external": return EXTERNAL 1415 case "extract": return EXTRACT 1416 case "extract_duration": return EXTRACT_DURATION 1417 case "extremes": return EXTREMES 1418 case "failure": return FAILURE 1419 case "false": return FALSE 1420 case "family": return FAMILY 1421 case "fetch": return FETCH 1422 case "files": return FILES 1423 case "filter": return FILTER 1424 case "first": return FIRST 1425 case "float": return FLOAT 1426 case "following": return FOLLOWING 1427 case "for": return FOR 1428 case "force": return FORCE 1429 case "force_index": return FORCE_INDEX 1430 case "force_not_null": return FORCE_NOT_NULL 1431 case "force_null": return FORCE_NULL 1432 case "force_quote": return FORCE_QUOTE 1433 case "force_zigzag": return FORCE_ZIGZAG 1434 case "foreign": return FOREIGN 1435 case "format": return FORMAT 1436 case "forward": return FORWARD 1437 case "freeze": return FREEZE 1438 case "from": return FROM 1439 case "full": return FULL 1440 case "function": return FUNCTION 1441 case "functions": return FUNCTIONS 1442 case "generated": return GENERATED 1443 case "geography": return GEOGRAPHY 1444 case "geometry": return GEOMETRY 1445 case "geometrycollection": return GEOMETRYCOLLECTION 1446 case "geometrycollectionm": return GEOMETRYCOLLECTIONM 1447 case "geometrycollectionz": return GEOMETRYCOLLECTIONZ 1448 case "geometrycollectionzm": return GEOMETRYCOLLECTIONZM 1449 case "geometrym": return GEOMETRYM 1450 case "geometryz": return GEOMETRYZ 1451 case "geometryzm": return GEOMETRYZM 1452 case "global": return GLOBAL 1453 case "goal": return GOAL 1454 case "grant": return GRANT 1455 case "grantee": return GRANTEE 1456 case "grants": return GRANTS 1457 case "greatest": return GREATEST 1458 case "group": return GROUP 1459 case "grouping": return GROUPING 1460 case "groups": return GROUPS 1461 case "hash": return HASH 1462 case "having": return HAVING 1463 case "header": return HEADER 1464 case "high": return HIGH 1465 case "histogram": return HISTOGRAM 1466 case "hold": return HOLD 1467 case "hour": return HOUR 1468 case "identity": return IDENTITY 1469 case "if": return IF 1470 case "iferror": return IFERROR 1471 case "ifnull": return IFNULL 1472 case "ignore_foreign_keys": return IGNORE_FOREIGN_KEYS 1473 case "ilike": return ILIKE 1474 case "immediate": return IMMEDIATE 1475 case "immutable": return IMMUTABLE 1476 case "import": return IMPORT 1477 case "in": return IN 1478 case "include": return INCLUDE 1479 case "include_all_secondary_tenants": return INCLUDE_ALL_SECONDARY_TENANTS 1480 case "include_all_virtual_clusters": return INCLUDE_ALL_VIRTUAL_CLUSTERS 1481 case "including": return INCLUDING 1482 case "increment": return INCREMENT 1483 case "incremental": return INCREMENTAL 1484 case "incremental_location": return INCREMENTAL_LOCATION 1485 case "index": return INDEX 1486 case "indexes": return INDEXES 1487 case "index_after_order_by_before_at": return INDEX_AFTER_ORDER_BY_BEFORE_AT 1488 case "index_before_name_then_paren": return INDEX_BEFORE_NAME_THEN_PAREN 1489 case "index_before_paren": return INDEX_BEFORE_PAREN 1490 case "inherits": return INHERITS 1491 case "initially": return INITIALLY 1492 case "inject": return INJECT 1493 case "inner": return INNER 1494 case "inout": return INOUT 1495 case "input": return INPUT 1496 case "insensitive": return INSENSITIVE 1497 case "insert": return INSERT 1498 case "int": return INT 1499 case "integer": return INTEGER 1500 case "intersect": return INTERSECT 1501 case "interval": return INTERVAL 1502 case "into": return INTO 1503 case "into_db": return INTO_DB 1504 case "inverted": return INVERTED 1505 case "invisible": return INVISIBLE 1506 case "invoker": return INVOKER 1507 case "is": return IS 1508 case "iserror": return ISERROR 1509 case "isnull": return ISNULL 1510 case "isolation": return ISOLATION 1511 case "job": return JOB 1512 case "jobs": return JOBS 1513 case "join": return JOIN 1514 case "json": return JSON 1515 case "key": return KEY 1516 case "keys": return KEYS 1517 case "kms": return KMS 1518 case "kv": return KV 1519 case "label": return LABEL 1520 case "language": return LANGUAGE 1521 case "last": return LAST 1522 case "lateral": return LATERAL 1523 case "latest": return LATEST 1524 case "lc_collate": return LC_COLLATE 1525 case "lc_ctype": return LC_CTYPE 1526 case "leading": return LEADING 1527 case "leakproof": return LEAKPROOF 1528 case "lease": return LEASE 1529 case "least": return LEAST 1530 case "left": return LEFT 1531 case "less": return LESS 1532 case "level": return LEVEL 1533 case "like": return LIKE 1534 case "limit": return LIMIT 1535 case "linestring": return LINESTRING 1536 case "linestringm": return LINESTRINGM 1537 case "linestringz": return LINESTRINGZ 1538 case "linestringzm": return LINESTRINGZM 1539 case "list": return LIST 1540 case "local": return LOCAL 1541 case "locality": return LOCALITY 1542 case "localtime": return LOCALTIME 1543 case "localtimestamp": return LOCALTIMESTAMP 1544 case "locked": return LOCKED 1545 case "login": return LOGIN 1546 case "lookup": return LOOKUP 1547 case "low": return LOW 1548 case "match": return MATCH 1549 case "materialized": return MATERIALIZED 1550 case "maxvalue": return MAXVALUE 1551 case "merge": return MERGE 1552 case "method": return METHOD 1553 case "minute": return MINUTE 1554 case "minvalue": return MINVALUE 1555 case "modifyclustersetting": return MODIFYCLUSTERSETTING 1556 case "modifysqlclustersetting": return MODIFYSQLCLUSTERSETTING 1557 case "month": return MONTH 1558 case "move": return MOVE 1559 case "multilinestring": return MULTILINESTRING 1560 case "multilinestringm": return MULTILINESTRINGM 1561 case "multilinestringz": return MULTILINESTRINGZ 1562 case "multilinestringzm": return MULTILINESTRINGZM 1563 case "multipoint": return MULTIPOINT 1564 case "multipointm": return MULTIPOINTM 1565 case "multipointz": return MULTIPOINTZ 1566 case "multipointzm": return MULTIPOINTZM 1567 case "multipolygon": return MULTIPOLYGON 1568 case "multipolygonm": return MULTIPOLYGONM 1569 case "multipolygonz": return MULTIPOLYGONZ 1570 case "multipolygonzm": return MULTIPOLYGONZM 1571 case "names": return NAMES 1572 case "nan": return NAN 1573 case "natural": return NATURAL 1574 case "never": return NEVER 1575 case "new_db_name": return NEW_DB_NAME 1576 case "new_kms": return NEW_KMS 1577 case "next": return NEXT 1578 case "no": return NO 1579 case "nocancelquery": return NOCANCELQUERY 1580 case "nocontrolchangefeed": return NOCONTROLCHANGEFEED 1581 case "nocontroljob": return NOCONTROLJOB 1582 case "nocreatedb": return NOCREATEDB 1583 case "nocreatelogin": return NOCREATELOGIN 1584 case "nocreaterole": return NOCREATEROLE 1585 case "nologin": return NOLOGIN 1586 case "nomodifyclustersetting": return NOMODIFYCLUSTERSETTING 1587 case "none": return NONE 1588 case "nonvoters": return NONVOTERS 1589 case "noreplication": return NOREPLICATION 1590 case "normal": return NORMAL 1591 case "nosqllogin": return NOSQLLOGIN 1592 case "not": return NOT 1593 case "nothing": return NOTHING 1594 case "nothing_after_returning": return NOTHING_AFTER_RETURNING 1595 case "notnull": return NOTNULL 1596 case "noviewactivity": return NOVIEWACTIVITY 1597 case "noviewactivityredacted": return NOVIEWACTIVITYREDACTED 1598 case "noviewclustersetting": return NOVIEWCLUSTERSETTING 1599 case "nowait": return NOWAIT 1600 case "no_full_scan": return NO_FULL_SCAN 1601 case "no_index_join": return NO_INDEX_JOIN 1602 case "no_zigzag_join": return NO_ZIGZAG_JOIN 1603 case "null": return NULL 1604 case "nullif": return NULLIF 1605 case "nulls": return NULLS 1606 case "numeric": return NUMERIC 1607 case "of": return OF 1608 case "off": return OFF 1609 case "offset": return OFFSET 1610 case "oids": return OIDS 1611 case "old_kms": return OLD_KMS 1612 case "on": return ON 1613 case "only": return ONLY 1614 case "operator": return OPERATOR 1615 case "opt": return OPT 1616 case "option": return OPTION 1617 case "options": return OPTIONS 1618 case "or": return OR 1619 case "order": return ORDER 1620 case "ordinality": return ORDINALITY 1621 case "others": return OTHERS 1622 case "out": return OUT 1623 case "outer": return OUTER 1624 case "over": return OVER 1625 case "overlaps": return OVERLAPS 1626 case "overlay": return OVERLAY 1627 case "owned": return OWNED 1628 case "owner": return OWNER 1629 case "parallel": return PARALLEL 1630 case "parent": return PARENT 1631 case "partial": return PARTIAL 1632 case "partition": return PARTITION 1633 case "partitions": return PARTITIONS 1634 case "password": return PASSWORD 1635 case "pause": return PAUSE 1636 case "paused": return PAUSED 1637 case "physical": return PHYSICAL 1638 case "placement": return PLACEMENT 1639 case "placing": return PLACING 1640 case "plan": return PLAN 1641 case "plans": return PLANS 1642 case "point": return POINT 1643 case "pointm": return POINTM 1644 case "pointz": return POINTZ 1645 case "pointzm": return POINTZM 1646 case "polygon": return POLYGON 1647 case "polygonm": return POLYGONM 1648 case "polygonz": return POLYGONZ 1649 case "polygonzm": return POLYGONZM 1650 case "position": return POSITION 1651 case "preceding": return PRECEDING 1652 case "precision": return PRECISION 1653 case "prepare": return PREPARE 1654 case "preserve": return PRESERVE 1655 case "primary": return PRIMARY 1656 case "prior": return PRIOR 1657 case "priority": return PRIORITY 1658 case "privileges": return PRIVILEGES 1659 case "procedure": return PROCEDURE 1660 case "procedures": return PROCEDURES 1661 case "public": return PUBLIC 1662 case "publication": return PUBLICATION 1663 case "queries": return QUERIES 1664 case "query": return QUERY 1665 case "quote": return QUOTE 1666 case "range": return RANGE 1667 case "ranges": return RANGES 1668 case "read": return READ 1669 case "real": return REAL 1670 case "reason": return REASON 1671 case "reassign": return REASSIGN 1672 case "recurring": return RECURRING 1673 case "recursive": return RECURSIVE 1674 case "redact": return REDACT 1675 case "ref": return REF 1676 case "references": return REFERENCES 1677 case "refresh": return REFRESH 1678 case "region": return REGION 1679 case "regional": return REGIONAL 1680 case "regions": return REGIONS 1681 case "reindex": return REINDEX 1682 case "relative": return RELATIVE 1683 case "release": return RELEASE 1684 case "relocate": return RELOCATE 1685 case "remove_regions": return REMOVE_REGIONS 1686 case "rename": return RENAME 1687 case "repeatable": return REPEATABLE 1688 case "replace": return REPLACE 1689 case "replication": return REPLICATION 1690 case "reset": return RESET 1691 case "restart": return RESTART 1692 case "restore": return RESTORE 1693 case "restrict": return RESTRICT 1694 case "restricted": return RESTRICTED 1695 case "resume": return RESUME 1696 case "retention": return RETENTION 1697 case "retry": return RETRY 1698 case "return": return RETURN 1699 case "returning": return RETURNING 1700 case "returns": return RETURNS 1701 case "revision_history": return REVISION_HISTORY 1702 case "revoke": return REVOKE 1703 case "right": return RIGHT 1704 case "role": return ROLE 1705 case "roles": return ROLES 1706 case "rollback": return ROLLBACK 1707 case "rollup": return ROLLUP 1708 case "routines": return ROUTINES 1709 case "row": return ROW 1710 case "rows": return ROWS 1711 case "rule": return RULE 1712 case "running": return RUNNING 1713 case "savepoint": return SAVEPOINT 1714 case "scans": return SCANS 1715 case "scatter": return SCATTER 1716 case "schedule": return SCHEDULE 1717 case "schedules": return SCHEDULES 1718 case "schema": return SCHEMA 1719 case "schemas": return SCHEMAS 1720 case "schema_only": return SCHEMA_ONLY 1721 case "scroll": return SCROLL 1722 case "scrub": return SCRUB 1723 case "search": return SEARCH 1724 case "second": return SECOND 1725 case "secondary": return SECONDARY 1726 case "security": return SECURITY 1727 case "select": return SELECT 1728 case "sequence": return SEQUENCE 1729 case "sequences": return SEQUENCES 1730 case "serializable": return SERIALIZABLE 1731 case "server": return SERVER 1732 case "service": return SERVICE 1733 case "session": return SESSION 1734 case "sessions": return SESSIONS 1735 case "session_user": return SESSION_USER 1736 case "set": return SET 1737 case "setof": return SETOF 1738 case "sets": return SETS 1739 case "setting": return SETTING 1740 case "settings": return SETTINGS 1741 case "share": return SHARE 1742 case "shared": return SHARED 1743 case "show": return SHOW 1744 case "similar": return SIMILAR 1745 case "simple": return SIMPLE 1746 case "size": return SIZE 1747 case "skip": return SKIP 1748 case "skip_localities_check": return SKIP_LOCALITIES_CHECK 1749 case "skip_missing_foreign_keys": return SKIP_MISSING_FOREIGN_KEYS 1750 case "skip_missing_sequences": return SKIP_MISSING_SEQUENCES 1751 case "skip_missing_sequence_owners": return SKIP_MISSING_SEQUENCE_OWNERS 1752 case "skip_missing_udfs": return SKIP_MISSING_UDFS 1753 case "skip_missing_views": return SKIP_MISSING_VIEWS 1754 case "smallint": return SMALLINT 1755 case "snapshot": return SNAPSHOT 1756 case "some": return SOME 1757 case "split": return SPLIT 1758 case "sql": return SQL 1759 case "sqllogin": return SQLLOGIN 1760 case "stable": return STABLE 1761 case "start": return START 1762 case "state": return STATE 1763 case "statements": return STATEMENTS 1764 case "statistics": return STATISTICS 1765 case "status": return STATUS 1766 case "stdin": return STDIN 1767 case "stdout": return STDOUT 1768 case "stop": return STOP 1769 case "storage": return STORAGE 1770 case "store": return STORE 1771 case "stored": return STORED 1772 case "storing": return STORING 1773 case "stream": return STREAM 1774 case "strict": return STRICT 1775 case "string": return STRING 1776 case "subscription": return SUBSCRIPTION 1777 case "substring": return SUBSTRING 1778 case "super": return SUPER 1779 case "support": return SUPPORT 1780 case "survival": return SURVIVAL 1781 case "survive": return SURVIVE 1782 case "symmetric": return SYMMETRIC 1783 case "syntax": return SYNTAX 1784 case "system": return SYSTEM 1785 case "table": return TABLE 1786 case "tables": return TABLES 1787 case "tablespace": return TABLESPACE 1788 case "temp": return TEMP 1789 case "template": return TEMPLATE 1790 case "temporary": return TEMPORARY 1791 case "tenant": return TENANT 1792 case "tenants": return TENANTS 1793 case "tenant_name": return TENANT_NAME 1794 case "testing_relocate": return TESTING_RELOCATE 1795 case "text": return TEXT 1796 case "then": return THEN 1797 case "throttling": return THROTTLING 1798 case "ties": return TIES 1799 case "time": return TIME 1800 case "timestamp": return TIMESTAMP 1801 case "timestamptz": return TIMESTAMPTZ 1802 case "timetz": return TIMETZ 1803 case "to": return TO 1804 case "trace": return TRACE 1805 case "tracing": return TRACING 1806 case "trailing": return TRAILING 1807 case "transaction": return TRANSACTION 1808 case "transactions": return TRANSACTIONS 1809 case "transfer": return TRANSFER 1810 case "transform": return TRANSFORM 1811 case "treat": return TREAT 1812 case "trigger": return TRIGGER 1813 case "trim": return TRIM 1814 case "true": return TRUE 1815 case "truncate": return TRUNCATE 1816 case "trusted": return TRUSTED 1817 case "type": return TYPE 1818 case "types": return TYPES 1819 case "unbounded": return UNBOUNDED 1820 case "uncommitted": return UNCOMMITTED 1821 case "union": return UNION 1822 case "unique": return UNIQUE 1823 case "unknown": return UNKNOWN 1824 case "unlisten": return UNLISTEN 1825 case "unlogged": return UNLOGGED 1826 case "unsafe_restore_incompatible_version": return UNSAFE_RESTORE_INCOMPATIBLE_VERSION 1827 case "unset": return UNSET 1828 case "unsplit": return UNSPLIT 1829 case "until": return UNTIL 1830 case "update": return UPDATE 1831 case "updates_cluster_monitoring_metrics": return UPDATES_CLUSTER_MONITORING_METRICS 1832 case "upsert": return UPSERT 1833 case "use": return USE 1834 case "user": return USER 1835 case "users": return USERS 1836 case "using": return USING 1837 case "valid": return VALID 1838 case "validate": return VALIDATE 1839 case "value": return VALUE 1840 case "values": return VALUES 1841 case "varbit": return VARBIT 1842 case "varchar": return VARCHAR 1843 case "variadic": return VARIADIC 1844 case "varying": return VARYING 1845 case "verify_backup_table_data": return VERIFY_BACKUP_TABLE_DATA 1846 case "view": return VIEW 1847 case "viewactivity": return VIEWACTIVITY 1848 case "viewactivityredacted": return VIEWACTIVITYREDACTED 1849 case "viewclustermetadata": return VIEWCLUSTERMETADATA 1850 case "viewclustersetting": return VIEWCLUSTERSETTING 1851 case "viewdebug": return VIEWDEBUG 1852 case "virtual": return VIRTUAL 1853 case "virtual_cluster": return VIRTUAL_CLUSTER 1854 case "virtual_cluster_name": return VIRTUAL_CLUSTER_NAME 1855 case "visibility": return VISIBILITY 1856 case "visible": return VISIBLE 1857 case "volatile": return VOLATILE 1858 case "voters": return VOTERS 1859 case "when": return WHEN 1860 case "where": return WHERE 1861 case "window": return WINDOW 1862 case "with": return WITH 1863 case "within": return WITHIN 1864 case "without": return WITHOUT 1865 case "work": return WORK 1866 case "write": return WRITE 1867 case "year": return YEAR 1868 case "zone": return ZONE 1869 default: return IDENT 1870 } 1871 }