{"modulePath":"github.com/cockroachdb/cockroachdb-parser","version":"v0.25.2","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package lexbase\n\nPackage lexbase contains utilities for lexing sql.\n\n## Constants\n\n```go\nconst ABORT = 57363\n```\n\n```go\nconst ABSOLUTE = 57364\n```\n\n```go\nconst ACCESS = 57365\n```\n\n```go\nconst ACTION = 57366\n```\n\n```go\nconst ADD = 57367\n```\n\n```go\nconst ADMIN = 57368\n```\n\n```go\nconst AFTER = 57369\n```\n\n```go\nconst AGGREGATE = 57370\n```\n\n```go\nconst ALL = 57371\n```\n\n```go\nconst ALTER = 57372\n```\n\n```go\nconst ALWAYS = 57373\n```\n\n```go\nconst ANALYSE = 57374\n```\n\n```go\nconst ANALYZE = 57375\n```\n\n```go\nconst AND = 57376\n```\n\n```go\nconst AND_AND = 57377\n```\n\n```go\nconst ANNOTATE_TYPE = 57379\n```\n\n```go\nconst ANY = 57378\n```\n\n```go\nconst ARRAY = 57380\n```\n\n```go\nconst AS = 57381\n```\n\n```go\nconst ASC = 57382\n```\n\n```go\nconst ASENSITIVE = 57385\n```\n\n```go\nconst ASYMMETRIC = 57386\n```\n\n```go\nconst AS_JSON = 57383\n```\n\n```go\nconst AS_LA = 58051\n```\n\n```go\nconst AT = 57387\n```\n\n```go\nconst ATOMIC = 57388\n```\n\n```go\nconst ATTRIBUTE = 57389\n```\n\n```go\nconst AT_AT = 57384\n```\n\n```go\nconst AUTHORIZATION = 57390\n```\n\n```go\nconst AUTOMATIC = 57391\n```\n\n```go\nconst AVAILABILITY = 57392\n```\n\n```go\nconst AVOID_FULL_SCAN = 57393\n```\n\n```go\nconst BACKUP = 57394\n```\n\n```go\nconst BACKUPS = 57395\n```\n\n```go\nconst BACKWARD = 57396\n```\n\n```go\nconst BATCH = 57397\n```\n\n```go\nconst BCONST = 57348\n```\n\n```go\nconst BEFORE = 57398\n```\n\n```go\nconst BEGIN = 57399\n```\n\n```go\nconst BETWEEN = 57400\n```\n\n```go\nconst BIDIRECTIONAL = 57401\n```\n\n```go\nconst BIGINT = 57402\n```\n\n```go\nconst BIGSERIAL = 57403\n```\n\n```go\nconst BINARY = 57404\n```\n\n```go\nconst BIT = 57405\n```\n\n```go\nconst BITCONST = 57349\n```\n\n```go\nconst BOOLEAN = 57407\n```\n\n```go\nconst BOTH = 57408\n```\n\n```go\nconst BOX2D = 57409\n```\n\n```go\nconst BUCKET_COUNT = 57406\n```\n\n```go\nconst BUNDLE = 57410\n```\n\n```go\nconst BY = 57411\n```\n\n```go\nconst BYPASSRLS = 57412\n```\n\n```go\nconst CACHE = 57413\n```\n\n```go\nconst CALL = 57414\n```\n\n```go\nconst CALLED = 57415\n```\n\n```go\nconst CANCEL = 57416\n```\n\n```go\nconst CANCELQUERY = 57417\n```\n\n```go\nconst CAPABILITIES = 57418\n```\n\n```go\nconst CAPABILITY = 57419\n```\n\n```go\nconst CASCADE = 57420\n```\n\n```go\nconst CASE = 57421\n```\n\n```go\nconst CAST = 57422\n```\n\n```go\nconst CBRT = 57423\n```\n\n```go\nconst CHANGEFEED = 57424\n```\n\n```go\nconst CHAR = 57425\n```\n\n```go\nconst CHARACTER = 57426\n```\n\n```go\nconst CHARACTERISTICS = 57427\n```\n\n```go\nconst CHECK = 57428\n```\n\n```go\nconst CHECK_FILES = 57429\n```\n\n```go\nconst CLOSE = 57430\n```\n\n```go\nconst CLUSTER = 57431\n```\n\n```go\nconst CLUSTERS = 57432\n```\n\n```go\nconst CLUSTER_ALL = 58059\n```\n\n```go\nconst COALESCE = 57433\n```\n\n```go\nconst COLLATE = 57434\n```\n\n```go\nconst COLLATION = 57435\n```\n\n```go\nconst COLUMN = 57436\n```\n\n```go\nconst COLUMNS = 57437\n```\n\n```go\nconst COMMENT = 57438\n```\n\n```go\nconst COMMENTS = 57439\n```\n\n```go\nconst COMMIT = 57440\n```\n\n```go\nconst COMMITTED = 57441\n```\n\n```go\nconst COMPACT = 57442\n```\n\n```go\nconst COMPLETE = 57443\n```\n\n```go\nconst COMPLETIONS = 57444\n```\n\n```go\nconst CONCAT = 57445\n```\n\n```go\nconst CONCURRENTLY = 57446\n```\n\n```go\nconst CONFIGURATION = 57447\n```\n\n```go\nconst CONFIGURATIONS = 57448\n```\n\n```go\nconst CONFIGURE = 57449\n```\n\n```go\nconst CONFLICT = 57450\n```\n\n```go\nconst CONNECTION = 57451\n```\n\n```go\nconst CONNECTIONS = 57452\n```\n\n```go\nconst CONSTRAINT = 57453\n```\n\n```go\nconst CONSTRAINTS = 57454\n```\n\n```go\nconst CONTAINED_BY = 58061\n```\n\n```go\nconst CONTAINS = 57455\n```\n\n```go\nconst CONTROLCHANGEFEED = 57456\n```\n\n```go\nconst CONTROLJOB = 57457\n```\n\n```go\nconst CONVERSION = 57458\n```\n\n```go\nconst CONVERT = 57459\n```\n\n```go\nconst COPY = 57460\n```\n\n```go\nconst COST = 57462\n```\n\n```go\nconst COS_DISTANCE = 57461\n```\n\n```go\nconst COVERING = 57463\n```\n\n```go\nconst CREATE = 57464\n```\n\n```go\nconst CREATEDB = 57465\n```\n\n```go\nconst CREATELOGIN = 57466\n```\n\n```go\nconst CREATEROLE = 57467\n```\n\n```go\nconst CROSS = 57468\n```\n\n```go\nconst CSV = 57469\n```\n\n```go\nconst CUBE = 57470\n```\n\n```go\nconst CURRENT = 57471\n```\n\n```go\nconst CURRENT_CATALOG = 57472\n```\n\n```go\nconst CURRENT_DATE = 57473\n```\n\n```go\nconst CURRENT_ROLE = 57475\n```\n\n```go\nconst CURRENT_SCHEMA = 57474\n```\n\n```go\nconst CURRENT_TIME = 57476\n```\n\n```go\nconst CURRENT_TIMESTAMP = 57477\n```\n\n```go\nconst CURRENT_USER = 57478\n```\n\n```go\nconst CURSOR = 57479\n```\n\n```go\nconst CYCLE = 57480\n```\n\n```go\nconst DATA = 57481\n```\n\n```go\nconst DATABASE = 57482\n```\n\n```go\nconst DATABASES = 57483\n```\n\n```go\nconst DATE = 57484\n```\n\n```go\nconst DAY = 57485\n```\n\n```go\nconst DEALLOCATE = 57492\n```\n\n```go\nconst DEBUG_IDS = 57486\n```\n\n```go\nconst DEC = 57487\n```\n\n```go\nconst DECIMAL = 57488\n```\n\n```go\nconst DECLARE = 57493\n```\n\n```go\nconst DEFAULT = 57489\n```\n\n```go\nconst DEFAULTS = 57490\n```\n\n```go\nconst DEFERRABLE = 57494\n```\n\n```go\nconst DEFERRED = 57495\n```\n\n```go\nconst DEFINER = 57491\n```\n\n```go\nconst DELETE = 57496\n```\n\n```go\nconst DELIMITER = 57497\n```\n\n```go\nconst DEPENDS = 57498\n```\n\n```go\nconst DESC = 57499\n```\n\n```go\nconst DESTINATION = 57500\n```\n\n```go\nconst DETACHED = 57501\n```\n\n```go\nconst DETAILS = 57502\n```\n\n```go\nconst DISABLE = 57503\n```\n\n```go\nconst DISCARD = 57504\n```\n\n```go\nconst DISTANCE = 57505\n```\n\n```go\nconst DISTINCT = 57506\n```\n\n```go\nconst DO = 57507\n```\n\n```go\nconst DOMAIN = 57508\n```\n\n```go\nconst DOT_DOT = 57355\n```\n\n```go\nconst DOUBLE = 57509\n```\n\n```go\nconst DROP = 57510\n```\n\n```go\nconst EACH = 57511\n```\n\n```go\nconst ELSE = 57512\n```\n\n```go\nconst ENABLE = 57513\n```\n\n```go\nconst ENCODING = 57514\n```\n\n```go\nconst ENCRYPTED = 57515\n```\n\n```go\nconst ENCRYPTION_INFO_DIR = 57516\n```\n\n```go\nconst ENCRYPTION_PASSPHRASE = 57517\n```\n\n```go\nconst END = 57518\n```\n\n```go\nconst ENUM = 57519\n```\n\n```go\nconst ENUMS = 57520\n```\n\n```go\nconst ERROR = 57362\n```\n\n```go\nconst ESCAPE = 57521\n```\n\n```go\nconst EXCEPT = 57522\n```\n\n```go\nconst EXCLUDE = 57523\n```\n\n```go\nconst EXCLUDING = 57524\n```\n\n```go\nconst EXECUTE = 57526\n```\n\n```go\nconst EXECUTION = 57527\n```\n\n```go\nconst EXISTS = 57525\n```\n\n```go\nconst EXPERIMENTAL = 57528\n```\n\n```go\nconst EXPERIMENTAL_AUDIT = 57531\n```\n\n```go\nconst EXPERIMENTAL_FINGERPRINTS = 57529\n```\n\n```go\nconst EXPERIMENTAL_RELOCATE = 57532\n```\n\n```go\nconst EXPERIMENTAL_REPLICA = 57530\n```\n\n```go\nconst EXPIRATION = 57533\n```\n\n```go\nconst EXPLAIN = 57534\n```\n\n```go\nconst EXPORT = 57535\n```\n\n```go\nconst EXTENSION = 57536\n```\n\n```go\nconst EXTERNAL = 57537\n```\n\n```go\nconst EXTRACT = 57538\n```\n\n```go\nconst EXTRACT_DURATION = 57539\n```\n\n```go\nconst EXTREMES = 57540\n```\n\n```go\nconst FAILURE = 57541\n```\n\n```go\nconst FALSE = 57542\n```\n\n```go\nconst FAMILY = 57543\n```\n\n```go\nconst FCONST = 57351\n```\n\n```go\nconst FETCH = 57544\n```\n\n```go\nconst FETCHTEXT = 57546\n```\n\n```go\nconst FETCHTEXT_PATH = 57548\n```\n\n```go\nconst FETCHVAL = 57545\n```\n\n```go\nconst FETCHVAL_PATH = 57547\n```\n\n```go\nconst FILES = 57549\n```\n\n```go\nconst FILTER = 57550\n```\n\n```go\nconst FIRST = 57551\n```\n\n```go\nconst FLOAT = 57552\n```\n\n```go\nconst FLOAT4 = 57553\n```\n\n```go\nconst FLOAT8 = 57554\n```\n\n```go\nconst FLOORDIV = 57555\n```\n\n```go\nconst FOLLOWING = 57556\n```\n\n```go\nconst FOR = 57557\n```\n\n```go\nconst FORCE = 57558\n```\n\n```go\nconst FORCE_INDEX = 57559\n```\n\n```go\nconst FORCE_INVERTED_INDEX = 57560\n```\n\n```go\nconst FORCE_NOT_NULL = 57561\n```\n\n```go\nconst FORCE_NULL = 57562\n```\n\n```go\nconst FORCE_QUOTE = 57563\n```\n\n```go\nconst FORCE_ZIGZAG = 57564\n```\n\n```go\nconst FOREIGN = 57565\n```\n\n```go\nconst FORMAT = 57566\n```\n\n```go\nconst FORWARD = 57567\n```\n\n```go\nconst FREEZE = 57568\n```\n\n```go\nconst FROM = 57569\n```\n\n```go\nconst FULL = 57570\n```\n\n```go\nconst FUNCTION = 57571\n```\n\n```go\nconst FUNCTIONS = 57572\n```\n\n```go\nconst GENERATED = 57573\n```\n\n```go\nconst GENERATED_ALWAYS = 58052\n```\n\n```go\nconst GENERATED_BY_DEFAULT = 58053\n```\n\n```go\nconst GEOGRAPHY = 57574\n```\n\n```go\nconst GEOMETRY = 57575\n```\n\n```go\nconst GEOMETRYCOLLECTION = 57579\n```\n\n```go\nconst GEOMETRYCOLLECTIONM = 57580\n```\n\n```go\nconst GEOMETRYCOLLECTIONZ = 57581\n```\n\n```go\nconst GEOMETRYCOLLECTIONZM = 57582\n```\n\n```go\nconst GEOMETRYM = 57576\n```\n\n```go\nconst GEOMETRYZ = 57577\n```\n\n```go\nconst GEOMETRYZM = 57578\n```\n\n```go\nconst GLOBAL = 57583\n```\n\n```go\nconst GOAL = 57584\n```\n\n```go\nconst GRANT = 57585\n```\n\n```go\nconst GRANTEE = 57586\n```\n\n```go\nconst GRANTS = 57587\n```\n\n```go\nconst GREATER_EQUALS = 57357\n```\n\n```go\nconst GREATEST = 57588\n```\n\n```go\nconst GROUP = 57589\n```\n\n```go\nconst GROUPING = 57590\n```\n\n```go\nconst GROUPS = 57591\n```\n\n```go\nconst HASH = 57593\n```\n\n```go\nconst HAVING = 57592\n```\n\n```go\nconst HEADER = 57594\n```\n\n```go\nconst HELPTOKEN = 58065\n```\n\n```go\nconst HIGH = 57595\n```\n\n```go\nconst HISTOGRAM = 57596\n```\n\n```go\nconst HOLD = 57597\n```\n\n```go\nconst HOUR = 57598\n```\n\n```go\nconst ICONST = 57350\n```\n\n```go\nconst IDENT = 57346\n```\n\n```go\nconst IDENTITY = 57599\n```\n\n```go\nconst IF = 57600\n```\n\n```go\nconst IFERROR = 57601\n```\n\n```go\nconst IFNULL = 57602\n```\n\n```go\nconst IGNORE_FOREIGN_KEYS = 57603\n```\n\n```go\nconst ILIKE = 57604\n```\n\n```go\nconst IMMEDIATE = 57605\n```\n\n```go\nconst IMMEDIATELY = 57606\n```\n\n```go\nconst IMMUTABLE = 57607\n```\n\n```go\nconst IMPORT = 57608\n```\n\n```go\nconst IN = 57609\n```\n\n```go\nconst INCLUDE = 57610\n```\n\n```go\nconst INCLUDE_ALL_SECONDARY_TENANTS = 57612\n```\n\n```go\nconst INCLUDE_ALL_VIRTUAL_CLUSTERS = 57613\n```\n\n```go\nconst INCLUDING = 57611\n```\n\n```go\nconst INCREMENT = 57614\n```\n\n```go\nconst INCREMENTAL = 57615\n```\n\n```go\nconst INCREMENTAL_LOCATION = 57616\n```\n\n```go\nconst INDEX = 57620\n```\n\n```go\nconst INDEXES = 57621\n```\n\n```go\nconst INDEX_AFTER_ORDER_BY_BEFORE_AT = 57627\n```\n\n```go\nconst INDEX_BEFORE_NAME_THEN_PAREN = 57626\n```\n\n```go\nconst INDEX_BEFORE_PAREN = 57625\n```\n\n```go\nconst INET = 57617\n```\n\n```go\nconst INET_CONTAINED_BY_OR_EQUALS = 57618\n```\n\n```go\nconst INET_CONTAINS_OR_EQUALS = 57619\n```\n\n```go\nconst INHERITS = 57622\n```\n\n```go\nconst INITIALLY = 57624\n```\n\n```go\nconst INJECT = 57623\n```\n\n```go\nconst INNER = 57628\n```\n\n```go\nconst INOUT = 57629\n```\n\n```go\nconst INPUT = 57630\n```\n\n```go\nconst INSENSITIVE = 57631\n```\n\n```go\nconst INSERT = 57632\n```\n\n```go\nconst INSTEAD = 57633\n```\n\n```go\nconst INT = 57634\n```\n\n```go\nconst INTEGER = 57635\n```\n\n```go\nconst INTERSECT = 57636\n```\n\n```go\nconst INTERVAL = 57637\n```\n\n```go\nconst INTERVAL_SIMPLE = 58063\n```\n\n```go\nconst INTO = 57638\n```\n\n```go\nconst INTO_DB = 57639\n```\n\n```go\nconst INVERTED = 57640\n```\n\n```go\nconst INVISIBLE = 58032\n```\n\n```go\nconst INVOKER = 57641\n```\n\n```go\nconst IS = 57642\n```\n\n```go\nconst ISERROR = 57643\n```\n\n```go\nconst ISNULL = 57644\n```\n\n```go\nconst ISOLATION = 57645\n```\n\n```go\nconst JOB = 57646\n```\n\n```go\nconst JOBS = 57647\n```\n\n```go\nconst JOIN = 57648\n```\n\n```go\nconst JSON = 57649\n```\n\n```go\nconst JSONB = 57650\n```\n\n```go\nconst JSON_ALL_EXISTS = 57652\n```\n\n```go\nconst JSON_SOME_EXISTS = 57651\n```\n\n```go\nconst KEY = 57653\n```\n\n```go\nconst KEYS = 57654\n```\n\n```go\nconst KMS = 57655\n```\n\n```go\nconst KV = 57656\n```\n\n```go\nconst LABEL = 57657\n```\n\n```go\nconst LANGUAGE = 57658\n```\n\n```go\nconst LAST = 57659\n```\n\n```go\nconst LATERAL = 57660\n```\n\n```go\nconst LATEST = 57661\n```\n\n```go\nconst LC_COLLATE = 57663\n```\n\n```go\nconst LC_CTYPE = 57662\n```\n\n```go\nconst LEADING = 57664\n```\n\n```go\nconst LEAKPROOF = 57667\n```\n\n```go\nconst LEASE = 57665\n```\n\n```go\nconst LEAST = 57666\n```\n\n```go\nconst LEFT = 57668\n```\n\n```go\nconst LESS = 57669\n```\n\n```go\nconst LESS_EQUALS = 57356\n```\n\n```go\nconst LEVEL = 57670\n```\n\n```go\nconst LIKE = 57671\n```\n\n```go\nconst LIMIT = 57672\n```\n\n```go\nconst LINESTRING = 57673\n```\n\n```go\nconst LINESTRINGM = 57674\n```\n\n```go\nconst LINESTRINGZ = 57675\n```\n\n```go\nconst LINESTRINGZM = 57676\n```\n\n```go\nconst LIST = 57677\n```\n\n```go\nconst LOCAL = 57678\n```\n\n```go\nconst LOCALITY = 57679\n```\n\n```go\nconst LOCALTIME = 57680\n```\n\n```go\nconst LOCALTIMESTAMP = 57681\n```\n\n```go\nconst LOCKED = 57682\n```\n\n```go\nconst LOGICAL = 57683\n```\n\n```go\nconst LOGICALLY = 57684\n```\n\n```go\nconst LOGIN = 57685\n```\n\n```go\nconst LOOKUP = 57686\n```\n\n```go\nconst LOW = 57687\n```\n\n```go\nconst LSHIFT = 57688\n```\n\n```go\nconst MATCH = 57689\n```\n\n```go\nconst MATERIALIZED = 57690\n```\n\n```go\nconst MAXVALUE = 57693\n```\n\n```go\nconst MERGE = 57691\n```\n\n```go\nconst METHOD = 57694\n```\n\n```go\nconst MINUTE = 57695\n```\n\n```go\nconst MINVALUE = 57692\n```\n\n```go\nconst MODE = 57698\n```\n\n```go\nconst MODIFYCLUSTERSETTING = 57696\n```\n\n```go\nconst MODIFYSQLCLUSTERSETTING = 57697\n```\n\n```go\nconst MONTH = 57699\n```\n\n```go\nconst MOVE = 57700\n```\n\n```go\nconst MULTILINESTRING = 57701\n```\n\n```go\nconst MULTILINESTRINGM = 57702\n```\n\n```go\nconst MULTILINESTRINGZ = 57703\n```\n\n```go\nconst MULTILINESTRINGZM = 57704\n```\n\n```go\nconst MULTIPOINT = 57705\n```\n\n```go\nconst MULTIPOINTM = 57706\n```\n\n```go\nconst MULTIPOINTZ = 57707\n```\n\n```go\nconst MULTIPOINTZM = 57708\n```\n\n```go\nconst MULTIPOLYGON = 57709\n```\n\n```go\nconst MULTIPOLYGONM = 57710\n```\n\n```go\nconst MULTIPOLYGONZ = 57711\n```\n\n```go\nconst MULTIPOLYGONZM = 57712\n```\n\n```go\nconst NAME = 57714\n```\n\n```go\nconst NAMES = 57715\n```\n\n```go\nconst NAN = 57713\n```\n\n```go\nconst NATURAL = 57716\n```\n\n```go\nconst NEG_INNER_PRODUCT = 57717\n```\n\n```go\nconst NEVER = 57718\n```\n\n```go\nconst NEW = 57719\n```\n\n```go\nconst NEW_DB_NAME = 57720\n```\n\n```go\nconst NEW_KMS = 57721\n```\n\n```go\nconst NEXT = 57722\n```\n\n```go\nconst NO = 57723\n```\n\n```go\nconst NOBYPASSRLS = 57724\n```\n\n```go\nconst NOCANCELQUERY = 57725\n```\n\n```go\nconst NOCONTROLCHANGEFEED = 57726\n```\n\n```go\nconst NOCONTROLJOB = 57727\n```\n\n```go\nconst NOCREATEDB = 57728\n```\n\n```go\nconst NOCREATELOGIN = 57729\n```\n\n```go\nconst NOCREATEROLE = 57730\n```\n\n```go\nconst NODE = 57731\n```\n\n```go\nconst NOLOGIN = 57732\n```\n\n```go\nconst NOMODIFYCLUSTERSETTING = 57733\n```\n\n```go\nconst NONE = 57739\n```\n\n```go\nconst NONVOTERS = 57740\n```\n\n```go\nconst NOREPLICATION = 57734\n```\n\n```go\nconst NORMAL = 57741\n```\n\n```go\nconst NOSQLLOGIN = 57735\n```\n\n```go\nconst NOT = 57742\n```\n\n```go\nconst NOTHING = 57743\n```\n\n```go\nconst NOTHING_AFTER_RETURNING = 57744\n```\n\n```go\nconst NOTNULL = 57745\n```\n\n```go\nconst NOT_EQUALS = 57358\n```\n\n```go\nconst NOT_LA = 58048\n```\n\n```go\nconst NOT_REGIMATCH = 57361\n```\n\n```go\nconst NOT_REGMATCH = 57359\n```\n\n```go\nconst NOVIEWACTIVITY = 57746\n```\n\n```go\nconst NOVIEWACTIVITYREDACTED = 57747\n```\n\n```go\nconst NOVIEWCLUSTERSETTING = 57748\n```\n\n```go\nconst NOWAIT = 57749\n```\n\n```go\nconst NO_FULL_SCAN = 57738\n```\n\n```go\nconst NO_INDEX_JOIN = 57736\n```\n\n```go\nconst NO_ZIGZAG_JOIN = 57737\n```\n\n```go\nconst NULL = 57750\n```\n\n```go\nconst NULLIF = 57751\n```\n\n```go\nconst NULLS = 57752\n```\n\n```go\nconst NULLS_LA = 58049\n```\n\n```go\nconst NUMERIC = 57753\n```\n\n```go\nconst OF = 57754\n```\n\n```go\nconst OFF = 57755\n```\n\n```go\nconst OFFSET = 57756\n```\n\n```go\nconst OID = 57757\n```\n\n```go\nconst OIDS = 57758\n```\n\n```go\nconst OIDVECTOR = 57759\n```\n\n```go\nconst OLD = 57760\n```\n\n```go\nconst OLD_KMS = 57761\n```\n\n```go\nconst ON = 57762\n```\n\n```go\nconst ONLY = 57763\n```\n\n```go\nconst ON_LA = 58057\n```\n\n```go\nconst OPERATOR = 57778\n```\n\n```go\nconst OPT = 57764\n```\n\n```go\nconst OPTION = 57765\n```\n\n```go\nconst OPTIONS = 57766\n```\n\n```go\nconst OR = 57767\n```\n\n```go\nconst ORDER = 57768\n```\n\n```go\nconst ORDINALITY = 57769\n```\n\n```go\nconst OTHERS = 57770\n```\n\n```go\nconst OUT = 57771\n```\n\n```go\nconst OUTER = 57772\n```\n\n```go\nconst OVER = 57773\n```\n\n```go\nconst OVERLAPS = 57774\n```\n\n```go\nconst OVERLAY = 57775\n```\n\n```go\nconst OWNED = 57776\n```\n\n```go\nconst OWNER = 57777\n```\n\n```go\nconst PARALLEL = 57779\n```\n\n```go\nconst PARENT = 57780\n```\n\n```go\nconst PARTIAL = 57781\n```\n\n```go\nconst PARTITION = 57782\n```\n\n```go\nconst PARTITIONS = 57783\n```\n\n```go\nconst PASSWORD = 57784\n```\n\n```go\nconst PAUSE = 57785\n```\n\n```go\nconst PAUSED = 57786\n```\n\n```go\nconst PER = 57787\n```\n\n```go\nconst PERMISSIVE = 57788\n```\n\n```go\nconst PHYSICAL = 57789\n```\n\n```go\nconst PLACEHOLDER = 57352\n```\n\n```go\nconst PLACEMENT = 57790\n```\n\n```go\nconst PLACING = 57791\n```\n\n```go\nconst PLAN = 57792\n```\n\n```go\nconst PLANS = 57793\n```\n\n```go\nconst POINT = 57794\n```\n\n```go\nconst POINTM = 57795\n```\n\n```go\nconst POINTZ = 57796\n```\n\n```go\nconst POINTZM = 57797\n```\n\n```go\nconst POLICIES = 57798\n```\n\n```go\nconst POLICY = 57799\n```\n\n```go\nconst POLYGON = 57800\n```\n\n```go\nconst POLYGONM = 57801\n```\n\n```go\nconst POLYGONZ = 57802\n```\n\n```go\nconst POLYGONZM = 57803\n```\n\n```go\nconst POSITION = 57804\n```\n\n```go\nconst POSTFIXOP = 58062\n```\n\n```go\nconst PRECEDING = 57805\n```\n\n```go\nconst PRECISION = 57806\n```\n\n```go\nconst PREPARE = 57807\n```\n\n```go\nconst PREPARED = 57808\n```\n\n```go\nconst PRESERVE = 57809\n```\n\n```go\nconst PRIMARY = 57810\n```\n\n```go\nconst PRIOR = 57811\n```\n\n```go\nconst PRIORITY = 57812\n```\n\n```go\nconst PRIVILEGES = 57813\n```\n\n```go\nconst PROCEDURAL = 57814\n```\n\n```go\nconst PROCEDURE = 57815\n```\n\n```go\nconst PROCEDURES = 57816\n```\n\n```go\nconst PUBLIC = 57817\n```\n\n```go\nconst PUBLICATION = 57818\n```\n\n```go\nconst QUERIES = 57819\n```\n\n```go\nconst QUERY = 57820\n```\n\n```go\nconst QUOTE = 57821\n```\n\n```go\nconst RANGE = 57822\n```\n\n```go\nconst RANGES = 57823\n```\n\n```go\nconst READ = 57824\n```\n\n```go\nconst REAL = 57825\n```\n\n```go\nconst REASON = 57826\n```\n\n```go\nconst REASSIGN = 57827\n```\n\n```go\nconst RECURRING = 57829\n```\n\n```go\nconst RECURSIVE = 57828\n```\n\n```go\nconst REDACT = 57830\n```\n\n```go\nconst REF = 57831\n```\n\n```go\nconst REFERENCES = 57832\n```\n\n```go\nconst REFERENCING = 57833\n```\n\n```go\nconst REFRESH = 57834\n```\n\n```go\nconst REGCLASS = 57835\n```\n\n```go\nconst REGIMATCH = 57360\n```\n\n```go\nconst REGION = 57836\n```\n\n```go\nconst REGIONAL = 57837\n```\n\n```go\nconst REGIONS = 57838\n```\n\n```go\nconst REGNAMESPACE = 57839\n```\n\n```go\nconst REGPROC = 57840\n```\n\n```go\nconst REGPROCEDURE = 57841\n```\n\n```go\nconst REGROLE = 57842\n```\n\n```go\nconst REGTYPE = 57843\n```\n\n```go\nconst REINDEX = 57844\n```\n\n```go\nconst RELATIVE = 57845\n```\n\n```go\nconst RELEASE = 57854\n```\n\n```go\nconst RELOCATE = 57846\n```\n\n```go\nconst REMOVE_PATH = 57847\n```\n\n```go\nconst REMOVE_REGIONS = 57848\n```\n\n```go\nconst RENAME = 57849\n```\n\n```go\nconst REPEATABLE = 57850\n```\n\n```go\nconst REPLACE = 57851\n```\n\n```go\nconst REPLICATED = 57852\n```\n\n```go\nconst REPLICATION = 57853\n```\n\n```go\nconst RESET = 57855\n```\n\n```go\nconst RESET_ALL = 58054\n```\n\n```go\nconst RESTART = 57856\n```\n\n```go\nconst RESTORE = 57857\n```\n\n```go\nconst RESTRICT = 57858\n```\n\n```go\nconst RESTRICTED = 57859\n```\n\n```go\nconst RESTRICTIVE = 57860\n```\n\n```go\nconst RESUME = 57861\n```\n\n```go\nconst RETENTION = 57862\n```\n\n```go\nconst RETRY = 57866\n```\n\n```go\nconst RETURN = 57864\n```\n\n```go\nconst RETURNING = 57863\n```\n\n```go\nconst RETURNS = 57865\n```\n\n```go\nconst REVISION_HISTORY = 57867\n```\n\n```go\nconst REVOKE = 57868\n```\n\n```go\nconst RIGHT = 57869\n```\n\n```go\nconst ROLE = 57870\n```\n\n```go\nconst ROLES = 57871\n```\n\n```go\nconst ROLE_ALL = 58055\n```\n\n```go\nconst ROLLBACK = 57872\n```\n\n```go\nconst ROLLUP = 57873\n```\n\n```go\nconst ROUTINES = 57874\n```\n\n```go\nconst ROW = 57875\n```\n\n```go\nconst ROWS = 57876\n```\n\n```go\nconst RSHIFT = 57877\n```\n\n```go\nconst RULE = 57878\n```\n\n```go\nconst RUNNING = 57879\n```\n\n```go\nconst SAVEPOINT = 57880\n```\n\n```go\nconst SCANS = 57881\n```\n\n```go\nconst SCATTER = 57882\n```\n\n```go\nconst SCHEDULE = 57883\n```\n\n```go\nconst SCHEDULES = 57884\n```\n\n```go\nconst SCHEMA = 57886\n```\n\n```go\nconst SCHEMAS = 57888\n```\n\n```go\nconst SCHEMA_ONLY = 57887\n```\n\n```go\nconst SCONST = 57347\n```\n\n```go\nconst SCROLL = 57885\n```\n\n```go\nconst SCRUB = 57889\n```\n\n```go\nconst SEARCH = 57890\n```\n\n```go\nconst SECOND = 57891\n```\n\n```go\nconst SECONDARY = 57892\n```\n\n```go\nconst SECURITY = 57893\n```\n\n```go\nconst SELECT = 57894\n```\n\n```go\nconst SEQUENCE = 57895\n```\n\n```go\nconst SEQUENCES = 57896\n```\n\n```go\nconst SERIALIZABLE = 57897\n```\n\n```go\nconst SERVER = 57898\n```\n\n```go\nconst SERVICE = 57899\n```\n\n```go\nconst SESSION = 57900\n```\n\n```go\nconst SESSIONS = 57901\n```\n\n```go\nconst SESSION_USER = 57902\n```\n\n```go\nconst SET = 57903\n```\n\n```go\nconst SETOF = 57904\n```\n\n```go\nconst SETS = 57905\n```\n\n```go\nconst SETTING = 57906\n```\n\n```go\nconst SETTINGS = 57907\n```\n\n```go\nconst SET_TRACING = 58060\n```\n\n```go\nconst SHARE = 57908\n```\n\n```go\nconst SHARED = 57909\n```\n\n```go\nconst SHOW = 57910\n```\n\n```go\nconst SIMILAR = 57911\n```\n\n```go\nconst SIMPLE = 57912\n```\n\n```go\nconst SIZE = 57913\n```\n\n```go\nconst SKIP = 57914\n```\n\n```go\nconst SKIP_LOCALITIES_CHECK = 57915\n```\n\n```go\nconst SKIP_MISSING_FOREIGN_KEYS = 57916\n```\n\n```go\nconst SKIP_MISSING_SEQUENCES = 57917\n```\n\n```go\nconst SKIP_MISSING_SEQUENCE_OWNERS = 57918\n```\n\n```go\nconst SKIP_MISSING_UDFS = 57920\n```\n\n```go\nconst SKIP_MISSING_VIEWS = 57919\n```\n\n```go\nconst SMALLINT = 57921\n```\n\n```go\nconst SMALLSERIAL = 57922\n```\n\n```go\nconst SNAPSHOT = 57923\n```\n\n```go\nconst SOME = 57924\n```\n\n```go\nconst SOURCE = 57925\n```\n\n```go\nconst SPLIT = 57926\n```\n\n```go\nconst SQL = 57927\n```\n\n```go\nconst SQLLOGIN = 57928\n```\n\n```go\nconst SQRT = 57955\n```\n\n```go\nconst STABLE = 57929\n```\n\n```go\nconst START = 57930\n```\n\n```go\nconst STATE = 57931\n```\n\n```go\nconst STATEMENT = 57932\n```\n\n```go\nconst STATEMENTS = 57957\n```\n\n```go\nconst STATISTICS = 57933\n```\n\n```go\nconst STATUS = 57934\n```\n\n```go\nconst STDIN = 57935\n```\n\n```go\nconst STDOUT = 57936\n```\n\n```go\nconst STOP = 57937\n```\n\n```go\nconst STORAGE = 57942\n```\n\n```go\nconst STORE = 57943\n```\n\n```go\nconst STORED = 57944\n```\n\n```go\nconst STORING = 57945\n```\n\n```go\nconst STRAIGHT = 57938\n```\n\n```go\nconst STREAM = 57939\n```\n\n```go\nconst STRICT = 57940\n```\n\n```go\nconst STRING = 57941\n```\n\n```go\nconst SUBJECT = 57946\n```\n\n```go\nconst SUBSCRIPTION = 57956\n```\n\n```go\nconst SUBSTRING = 57947\n```\n\n```go\nconst SUPER = 57948\n```\n\n```go\nconst SUPPORT = 57949\n```\n\n```go\nconst SURVIVAL = 57951\n```\n\n```go\nconst SURVIVE = 57950\n```\n\n```go\nconst SYMMETRIC = 57952\n```\n\n```go\nconst SYNTAX = 57953\n```\n\n```go\nconst SYSTEM = 57954\n```\n\n```go\nconst TABLE = 57958\n```\n\n```go\nconst TABLES = 57959\n```\n\n```go\nconst TABLESPACE = 57960\n```\n\n```go\nconst TEMP = 57961\n```\n\n```go\nconst TEMPLATE = 57962\n```\n\n```go\nconst TEMPORARY = 57963\n```\n\n```go\nconst TENANT = 57964\n```\n\n```go\nconst TENANTS = 57966\n```\n\n```go\nconst TENANT_ALL = 58058\n```\n\n```go\nconst TENANT_NAME = 57965\n```\n\n```go\nconst TESTING_RELOCATE = 57967\n```\n\n```go\nconst TEXT = 57968\n```\n\n```go\nconst THEN = 57969\n```\n\n```go\nconst THROTTLING = 57976\n```\n\n```go\nconst TIES = 57970\n```\n\n```go\nconst TIME = 57971\n```\n\n```go\nconst TIMESTAMP = 57973\n```\n\n```go\nconst TIMESTAMPTZ = 57974\n```\n\n```go\nconst TIMETZ = 57972\n```\n\n```go\nconst TO = 57975\n```\n\n```go\nconst TRACE = 57978\n```\n\n```go\nconst TRACING = 57992\n```\n\n```go\nconst TRAILING = 57977\n```\n\n```go\nconst TRANSACTION = 57979\n```\n\n```go\nconst TRANSACTIONS = 57980\n```\n\n```go\nconst TRANSFER = 57981\n```\n\n```go\nconst TRANSFORM = 57982\n```\n\n```go\nconst TREAT = 57983\n```\n\n```go\nconst TRIGGER = 57984\n```\n\n```go\nconst TRIGGERS = 57985\n```\n\n```go\nconst TRIM = 57986\n```\n\n```go\nconst TRUE = 57987\n```\n\n```go\nconst TRUNCATE = 57988\n```\n\n```go\nconst TRUSTED = 57989\n```\n\n```go\nconst TYPE = 57990\n```\n\n```go\nconst TYPEANNOTATE = 57354\n```\n\n```go\nconst TYPECAST = 57353\n```\n\n```go\nconst TYPES = 57991\n```\n\n```go\nconst UMINUS = 58064\n```\n\n```go\nconst UNBOUNDED = 57993\n```\n\n```go\nconst UNCOMMITTED = 57994\n```\n\n```go\nconst UNIDIRECTIONAL = 57995\n```\n\n```go\nconst UNION = 57996\n```\n\n```go\nconst UNIQUE = 57997\n```\n\n```go\nconst UNKNOWN = 57998\n```\n\n```go\nconst UNLISTEN = 57999\n```\n\n```go\nconst UNLOGGED = 58000\n```\n\n```go\nconst UNSAFE_RESTORE_INCOMPATIBLE_VERSION = 58001\n```\n\n```go\nconst UNSET = 58006\n```\n\n```go\nconst UNSPLIT = 58002\n```\n\n```go\nconst UNTIL = 58007\n```\n\n```go\nconst UPDATE = 58003\n```\n\n```go\nconst UPDATES_CLUSTER_MONITORING_METRICS = 58004\n```\n\n```go\nconst UPSERT = 58005\n```\n\n```go\nconst USE = 58008\n```\n\n```go\nconst USER = 58009\n```\n\n```go\nconst USERS = 58010\n```\n\n```go\nconst USER_ALL = 58056\n```\n\n```go\nconst USING = 58011\n```\n\n```go\nconst UUID = 58012\n```\n\n```go\nconst VALID = 58013\n```\n\n```go\nconst VALIDATE = 58014\n```\n\n```go\nconst VALUE = 58015\n```\n\n```go\nconst VALUES = 58016\n```\n\n```go\nconst VARBIT = 58017\n```\n\n```go\nconst VARCHAR = 58018\n```\n\n```go\nconst VARIABLES = 58023\n```\n\n```go\nconst VARIADIC = 58019\n```\n\n```go\nconst VARYING = 58024\n```\n\n```go\nconst VECTOR = 58020\n```\n\n```go\nconst VERIFY_BACKUP_TABLE_DATA = 58021\n```\n\n```go\nconst VIEW = 58022\n```\n\n```go\nconst VIEWACTIVITY = 58025\n```\n\n```go\nconst VIEWACTIVITYREDACTED = 58026\n```\n\n```go\nconst VIEWCLUSTERMETADATA = 58028\n```\n\n```go\nconst VIEWCLUSTERSETTING = 58029\n```\n\n```go\nconst VIEWDEBUG = 58027\n```\n\n```go\nconst VIRTUAL = 58030\n```\n\n```go\nconst VIRTUAL_CLUSTER = 58037\n```\n\n```go\nconst VIRTUAL_CLUSTER_NAME = 58036\n```\n\n```go\nconst VISIBILITY = 58033\n```\n\n```go\nconst VISIBLE = 58031\n```\n\n```go\nconst VOLATILE = 58034\n```\n\n```go\nconst VOTERS = 58035\n```\n\n```go\nconst WHEN = 58038\n```\n\n```go\nconst WHERE = 58039\n```\n\n```go\nconst WINDOW = 58040\n```\n\n```go\nconst WITH = 58041\n```\n\n```go\nconst WITHIN = 58042\n```\n\n```go\nconst WITHOUT = 58043\n```\n\n```go\nconst WITH_LA = 58050\n```\n\n```go\nconst WORK = 58044\n```\n\n```go\nconst WRITE = 58045\n```\n\n```go\nconst YEAR = 58046\n```\n\n```go\nconst ZONE = 58047\n```\n\n## Variables\n\n```go\nvar AllowedExperimental = map[string]struct{}{\n\t\"ranges\": {},\n}\n```\nAllowedExperimental contains keywords for which the EXPERIMENTAL\\_ or TESTING\\_ prefixes are allowed to be parsed along with the keyword to the same token. This ambiguity exists during the deprecation period of an EXPERIMENTAL\\_ keyword as it is being transitioned to the normal version. Once the transition is done, the keyword should be removed from here as well.\n\n```go\nvar KeywordNames = []string{\n\t\"abort\",\n\t\"absolute\",\n\t\"access\",\n\t\"action\",\n\t\"add\",\n\t\"admin\",\n\t\"after\",\n\t\"aggregate\",\n\t\"all\",\n\t\"alter\",\n\t\"always\",\n\t\"analyse\",\n\t\"analyze\",\n\t\"and\",\n\t\"annotate_type\",\n\t\"any\",\n\t\"array\",\n\t\"as\",\n\t\"asc\",\n\t\"asensitive\",\n\t\"asymmetric\",\n\t\"as_json\",\n\t\"at\",\n\t\"atomic\",\n\t\"attribute\",\n\t\"authorization\",\n\t\"automatic\",\n\t\"availability\",\n\t\"avoid_full_scan\",\n\t\"backup\",\n\t\"backups\",\n\t\"backward\",\n\t\"batch\",\n\t\"before\",\n\t\"begin\",\n\t\"between\",\n\t\"bidirectional\",\n\t\"bigint\",\n\t\"binary\",\n\t\"bit\",\n\t\"boolean\",\n\t\"both\",\n\t\"box2d\",\n\t\"bucket_count\",\n\t\"bundle\",\n\t\"by\",\n\t\"bypassrls\",\n\t\"cache\",\n\t\"call\",\n\t\"called\",\n\t\"cancel\",\n\t\"cancelquery\",\n\t\"capabilities\",\n\t\"capability\",\n\t\"cascade\",\n\t\"case\",\n\t\"cast\",\n\t\"changefeed\",\n\t\"char\",\n\t\"character\",\n\t\"characteristics\",\n\t\"check\",\n\t\"check_files\",\n\t\"close\",\n\t\"cluster\",\n\t\"clusters\",\n\t\"coalesce\",\n\t\"collate\",\n\t\"collation\",\n\t\"column\",\n\t\"columns\",\n\t\"comment\",\n\t\"comments\",\n\t\"commit\",\n\t\"committed\",\n\t\"compact\",\n\t\"complete\",\n\t\"completions\",\n\t\"concurrently\",\n\t\"configuration\",\n\t\"configurations\",\n\t\"configure\",\n\t\"conflict\",\n\t\"connection\",\n\t\"connections\",\n\t\"constraint\",\n\t\"constraints\",\n\t\"controlchangefeed\",\n\t\"controljob\",\n\t\"conversion\",\n\t\"convert\",\n\t\"copy\",\n\t\"cost\",\n\t\"covering\",\n\t\"create\",\n\t\"createdb\",\n\t\"createlogin\",\n\t\"createrole\",\n\t\"cross\",\n\t\"csv\",\n\t\"cube\",\n\t\"current\",\n\t\"current_catalog\",\n\t\"current_date\",\n\t\"current_role\",\n\t\"current_schema\",\n\t\"current_time\",\n\t\"current_timestamp\",\n\t\"current_user\",\n\t\"cursor\",\n\t\"cycle\",\n\t\"data\",\n\t\"database\",\n\t\"databases\",\n\t\"day\",\n\t\"deallocate\",\n\t\"debug_ids\",\n\t\"dec\",\n\t\"decimal\",\n\t\"declare\",\n\t\"default\",\n\t\"defaults\",\n\t\"deferrable\",\n\t\"deferred\",\n\t\"definer\",\n\t\"delete\",\n\t\"delimiter\",\n\t\"depends\",\n\t\"desc\",\n\t\"destination\",\n\t\"detached\",\n\t\"details\",\n\t\"disable\",\n\t\"discard\",\n\t\"distinct\",\n\t\"do\",\n\t\"domain\",\n\t\"double\",\n\t\"drop\",\n\t\"each\",\n\t\"else\",\n\t\"enable\",\n\t\"encoding\",\n\t\"encrypted\",\n\t\"encryption_info_dir\",\n\t\"encryption_passphrase\",\n\t\"end\",\n\t\"enum\",\n\t\"enums\",\n\t\"escape\",\n\t\"except\",\n\t\"exclude\",\n\t\"excluding\",\n\t\"execute\",\n\t\"execution\",\n\t\"exists\",\n\t\"experimental\",\n\t\"experimental_audit\",\n\t\"experimental_fingerprints\",\n\t\"experimental_relocate\",\n\t\"experimental_replica\",\n\t\"expiration\",\n\t\"explain\",\n\t\"export\",\n\t\"extension\",\n\t\"external\",\n\t\"extract\",\n\t\"extract_duration\",\n\t\"extremes\",\n\t\"failure\",\n\t\"false\",\n\t\"family\",\n\t\"fetch\",\n\t\"files\",\n\t\"filter\",\n\t\"first\",\n\t\"float\",\n\t\"following\",\n\t\"for\",\n\t\"force\",\n\t\"force_index\",\n\t\"force_inverted_index\",\n\t\"force_not_null\",\n\t\"force_null\",\n\t\"force_quote\",\n\t\"force_zigzag\",\n\t\"foreign\",\n\t\"format\",\n\t\"forward\",\n\t\"freeze\",\n\t\"from\",\n\t\"full\",\n\t\"function\",\n\t\"functions\",\n\t\"generated\",\n\t\"geography\",\n\t\"geometry\",\n\t\"geometrycollection\",\n\t\"geometrycollectionm\",\n\t\"geometrycollectionz\",\n\t\"geometrycollectionzm\",\n\t\"geometrym\",\n\t\"geometryz\",\n\t\"geometryzm\",\n\t\"global\",\n\t\"goal\",\n\t\"grant\",\n\t\"grantee\",\n\t\"grants\",\n\t\"greatest\",\n\t\"group\",\n\t\"grouping\",\n\t\"groups\",\n\t\"hash\",\n\t\"having\",\n\t\"header\",\n\t\"high\",\n\t\"histogram\",\n\t\"hold\",\n\t\"hour\",\n\t\"identity\",\n\t\"if\",\n\t\"iferror\",\n\t\"ifnull\",\n\t\"ignore_foreign_keys\",\n\t\"ilike\",\n\t\"immediate\",\n\t\"immediately\",\n\t\"immutable\",\n\t\"import\",\n\t\"in\",\n\t\"include\",\n\t\"include_all_secondary_tenants\",\n\t\"include_all_virtual_clusters\",\n\t\"including\",\n\t\"increment\",\n\t\"incremental\",\n\t\"incremental_location\",\n\t\"index\",\n\t\"indexes\",\n\t\"index_after_order_by_before_at\",\n\t\"index_before_name_then_paren\",\n\t\"index_before_paren\",\n\t\"inherits\",\n\t\"initially\",\n\t\"inject\",\n\t\"inner\",\n\t\"inout\",\n\t\"input\",\n\t\"insensitive\",\n\t\"insert\",\n\t\"instead\",\n\t\"int\",\n\t\"integer\",\n\t\"intersect\",\n\t\"interval\",\n\t\"into\",\n\t\"into_db\",\n\t\"inverted\",\n\t\"invisible\",\n\t\"invoker\",\n\t\"is\",\n\t\"iserror\",\n\t\"isnull\",\n\t\"isolation\",\n\t\"job\",\n\t\"jobs\",\n\t\"join\",\n\t\"json\",\n\t\"key\",\n\t\"keys\",\n\t\"kms\",\n\t\"kv\",\n\t\"label\",\n\t\"language\",\n\t\"last\",\n\t\"lateral\",\n\t\"latest\",\n\t\"lc_collate\",\n\t\"lc_ctype\",\n\t\"leading\",\n\t\"leakproof\",\n\t\"lease\",\n\t\"least\",\n\t\"left\",\n\t\"less\",\n\t\"level\",\n\t\"like\",\n\t\"limit\",\n\t\"linestring\",\n\t\"linestringm\",\n\t\"linestringz\",\n\t\"linestringzm\",\n\t\"list\",\n\t\"local\",\n\t\"locality\",\n\t\"localtime\",\n\t\"localtimestamp\",\n\t\"locked\",\n\t\"logical\",\n\t\"logically\",\n\t\"login\",\n\t\"lookup\",\n\t\"low\",\n\t\"match\",\n\t\"materialized\",\n\t\"maxvalue\",\n\t\"merge\",\n\t\"method\",\n\t\"minute\",\n\t\"minvalue\",\n\t\"mode\",\n\t\"modifyclustersetting\",\n\t\"modifysqlclustersetting\",\n\t\"month\",\n\t\"move\",\n\t\"multilinestring\",\n\t\"multilinestringm\",\n\t\"multilinestringz\",\n\t\"multilinestringzm\",\n\t\"multipoint\",\n\t\"multipointm\",\n\t\"multipointz\",\n\t\"multipointzm\",\n\t\"multipolygon\",\n\t\"multipolygonm\",\n\t\"multipolygonz\",\n\t\"multipolygonzm\",\n\t\"names\",\n\t\"nan\",\n\t\"natural\",\n\t\"never\",\n\t\"new\",\n\t\"new_db_name\",\n\t\"new_kms\",\n\t\"next\",\n\t\"no\",\n\t\"nobypassrls\",\n\t\"nocancelquery\",\n\t\"nocontrolchangefeed\",\n\t\"nocontroljob\",\n\t\"nocreatedb\",\n\t\"nocreatelogin\",\n\t\"nocreaterole\",\n\t\"node\",\n\t\"nologin\",\n\t\"nomodifyclustersetting\",\n\t\"none\",\n\t\"nonvoters\",\n\t\"noreplication\",\n\t\"normal\",\n\t\"nosqllogin\",\n\t\"not\",\n\t\"nothing\",\n\t\"nothing_after_returning\",\n\t\"notnull\",\n\t\"noviewactivity\",\n\t\"noviewactivityredacted\",\n\t\"noviewclustersetting\",\n\t\"nowait\",\n\t\"no_full_scan\",\n\t\"no_index_join\",\n\t\"no_zigzag_join\",\n\t\"null\",\n\t\"nullif\",\n\t\"nulls\",\n\t\"numeric\",\n\t\"of\",\n\t\"off\",\n\t\"offset\",\n\t\"oids\",\n\t\"old\",\n\t\"old_kms\",\n\t\"on\",\n\t\"only\",\n\t\"operator\",\n\t\"opt\",\n\t\"option\",\n\t\"options\",\n\t\"or\",\n\t\"order\",\n\t\"ordinality\",\n\t\"others\",\n\t\"out\",\n\t\"outer\",\n\t\"over\",\n\t\"overlaps\",\n\t\"overlay\",\n\t\"owned\",\n\t\"owner\",\n\t\"parallel\",\n\t\"parent\",\n\t\"partial\",\n\t\"partition\",\n\t\"partitions\",\n\t\"password\",\n\t\"pause\",\n\t\"paused\",\n\t\"per\",\n\t\"permissive\",\n\t\"physical\",\n\t\"placement\",\n\t\"placing\",\n\t\"plan\",\n\t\"plans\",\n\t\"point\",\n\t\"pointm\",\n\t\"pointz\",\n\t\"pointzm\",\n\t\"policies\",\n\t\"policy\",\n\t\"polygon\",\n\t\"polygonm\",\n\t\"polygonz\",\n\t\"polygonzm\",\n\t\"position\",\n\t\"preceding\",\n\t\"precision\",\n\t\"prepare\",\n\t\"prepared\",\n\t\"preserve\",\n\t\"primary\",\n\t\"prior\",\n\t\"priority\",\n\t\"privileges\",\n\t\"procedure\",\n\t\"procedures\",\n\t\"public\",\n\t\"publication\",\n\t\"queries\",\n\t\"query\",\n\t\"quote\",\n\t\"range\",\n\t\"ranges\",\n\t\"read\",\n\t\"real\",\n\t\"reason\",\n\t\"reassign\",\n\t\"recurring\",\n\t\"recursive\",\n\t\"redact\",\n\t\"ref\",\n\t\"references\",\n\t\"referencing\",\n\t\"refresh\",\n\t\"region\",\n\t\"regional\",\n\t\"regions\",\n\t\"reindex\",\n\t\"relative\",\n\t\"release\",\n\t\"relocate\",\n\t\"remove_regions\",\n\t\"rename\",\n\t\"repeatable\",\n\t\"replace\",\n\t\"replicated\",\n\t\"replication\",\n\t\"reset\",\n\t\"restart\",\n\t\"restore\",\n\t\"restrict\",\n\t\"restricted\",\n\t\"restrictive\",\n\t\"resume\",\n\t\"retention\",\n\t\"retry\",\n\t\"return\",\n\t\"returning\",\n\t\"returns\",\n\t\"revision_history\",\n\t\"revoke\",\n\t\"right\",\n\t\"role\",\n\t\"roles\",\n\t\"rollback\",\n\t\"rollup\",\n\t\"routines\",\n\t\"row\",\n\t\"rows\",\n\t\"rule\",\n\t\"running\",\n\t\"savepoint\",\n\t\"scans\",\n\t\"scatter\",\n\t\"schedule\",\n\t\"schedules\",\n\t\"schema\",\n\t\"schemas\",\n\t\"schema_only\",\n\t\"scroll\",\n\t\"scrub\",\n\t\"search\",\n\t\"second\",\n\t\"secondary\",\n\t\"security\",\n\t\"select\",\n\t\"sequence\",\n\t\"sequences\",\n\t\"serializable\",\n\t\"server\",\n\t\"service\",\n\t\"session\",\n\t\"sessions\",\n\t\"session_user\",\n\t\"set\",\n\t\"setof\",\n\t\"sets\",\n\t\"setting\",\n\t\"settings\",\n\t\"share\",\n\t\"shared\",\n\t\"show\",\n\t\"similar\",\n\t\"simple\",\n\t\"size\",\n\t\"skip\",\n\t\"skip_localities_check\",\n\t\"skip_missing_foreign_keys\",\n\t\"skip_missing_sequences\",\n\t\"skip_missing_sequence_owners\",\n\t\"skip_missing_udfs\",\n\t\"skip_missing_views\",\n\t\"smallint\",\n\t\"snapshot\",\n\t\"some\",\n\t\"source\",\n\t\"split\",\n\t\"sql\",\n\t\"sqllogin\",\n\t\"stable\",\n\t\"start\",\n\t\"state\",\n\t\"statement\",\n\t\"statements\",\n\t\"statistics\",\n\t\"status\",\n\t\"stdin\",\n\t\"stdout\",\n\t\"stop\",\n\t\"storage\",\n\t\"store\",\n\t\"stored\",\n\t\"storing\",\n\t\"straight\",\n\t\"stream\",\n\t\"strict\",\n\t\"string\",\n\t\"subject\",\n\t\"subscription\",\n\t\"substring\",\n\t\"super\",\n\t\"support\",\n\t\"survival\",\n\t\"survive\",\n\t\"symmetric\",\n\t\"syntax\",\n\t\"system\",\n\t\"table\",\n\t\"tables\",\n\t\"tablespace\",\n\t\"temp\",\n\t\"template\",\n\t\"temporary\",\n\t\"tenant\",\n\t\"tenants\",\n\t\"tenant_name\",\n\t\"testing_relocate\",\n\t\"text\",\n\t\"then\",\n\t\"throttling\",\n\t\"ties\",\n\t\"time\",\n\t\"timestamp\",\n\t\"timestamptz\",\n\t\"timetz\",\n\t\"to\",\n\t\"trace\",\n\t\"tracing\",\n\t\"trailing\",\n\t\"transaction\",\n\t\"transactions\",\n\t\"transfer\",\n\t\"transform\",\n\t\"treat\",\n\t\"trigger\",\n\t\"triggers\",\n\t\"trim\",\n\t\"true\",\n\t\"truncate\",\n\t\"trusted\",\n\t\"type\",\n\t\"types\",\n\t\"unbounded\",\n\t\"uncommitted\",\n\t\"unidirectional\",\n\t\"union\",\n\t\"unique\",\n\t\"unknown\",\n\t\"unlisten\",\n\t\"unlogged\",\n\t\"unsafe_restore_incompatible_version\",\n\t\"unset\",\n\t\"unsplit\",\n\t\"until\",\n\t\"update\",\n\t\"updates_cluster_monitoring_metrics\",\n\t\"upsert\",\n\t\"use\",\n\t\"user\",\n\t\"users\",\n\t\"using\",\n\t\"valid\",\n\t\"validate\",\n\t\"value\",\n\t\"values\",\n\t\"varbit\",\n\t\"varchar\",\n\t\"variables\",\n\t\"variadic\",\n\t\"varying\",\n\t\"vector\",\n\t\"verify_backup_table_data\",\n\t\"view\",\n\t\"viewactivity\",\n\t\"viewactivityredacted\",\n\t\"viewclustermetadata\",\n\t\"viewclustersetting\",\n\t\"viewdebug\",\n\t\"virtual\",\n\t\"virtual_cluster\",\n\t\"virtual_cluster_name\",\n\t\"visibility\",\n\t\"visible\",\n\t\"volatile\",\n\t\"voters\",\n\t\"when\",\n\t\"where\",\n\t\"window\",\n\t\"with\",\n\t\"within\",\n\t\"without\",\n\t\"work\",\n\t\"write\",\n\t\"year\",\n\t\"zone\",\n}\n```\nKeywordNames contains all keywords sorted, so that pg\\_get\\_keywords returns deterministic results.\n\n```go\nvar KeywordsCategories = map[string]string{\n\t\"abort\":                               \"U\",\n\t\"absolute\":                            \"U\",\n\t\"access\":                              \"U\",\n\t\"action\":                              \"U\",\n\t\"add\":                                 \"U\",\n\t\"admin\":                               \"U\",\n\t\"after\":                               \"U\",\n\t\"aggregate\":                           \"U\",\n\t\"all\":                                 \"R\",\n\t\"alter\":                               \"U\",\n\t\"always\":                              \"U\",\n\t\"analyse\":                             \"R\",\n\t\"analyze\":                             \"R\",\n\t\"and\":                                 \"R\",\n\t\"annotate_type\":                       \"C\",\n\t\"any\":                                 \"R\",\n\t\"array\":                               \"R\",\n\t\"as\":                                  \"R\",\n\t\"asc\":                                 \"R\",\n\t\"asensitive\":                          \"U\",\n\t\"asymmetric\":                          \"R\",\n\t\"as_json\":                             \"U\",\n\t\"at\":                                  \"U\",\n\t\"atomic\":                              \"U\",\n\t\"attribute\":                           \"U\",\n\t\"authorization\":                       \"T\",\n\t\"automatic\":                           \"U\",\n\t\"availability\":                        \"U\",\n\t\"avoid_full_scan\":                     \"U\",\n\t\"backup\":                              \"U\",\n\t\"backups\":                             \"U\",\n\t\"backward\":                            \"U\",\n\t\"batch\":                               \"U\",\n\t\"before\":                              \"U\",\n\t\"begin\":                               \"U\",\n\t\"between\":                             \"C\",\n\t\"bidirectional\":                       \"U\",\n\t\"bigint\":                              \"C\",\n\t\"binary\":                              \"U\",\n\t\"bit\":                                 \"C\",\n\t\"boolean\":                             \"C\",\n\t\"both\":                                \"R\",\n\t\"box2d\":                               \"C\",\n\t\"bucket_count\":                        \"U\",\n\t\"bundle\":                              \"U\",\n\t\"by\":                                  \"U\",\n\t\"bypassrls\":                           \"U\",\n\t\"cache\":                               \"U\",\n\t\"call\":                                \"U\",\n\t\"called\":                              \"U\",\n\t\"cancel\":                              \"U\",\n\t\"cancelquery\":                         \"U\",\n\t\"capabilities\":                        \"U\",\n\t\"capability\":                          \"U\",\n\t\"cascade\":                             \"U\",\n\t\"case\":                                \"R\",\n\t\"cast\":                                \"R\",\n\t\"changefeed\":                          \"U\",\n\t\"char\":                                \"C\",\n\t\"character\":                           \"C\",\n\t\"characteristics\":                     \"C\",\n\t\"check\":                               \"R\",\n\t\"check_files\":                         \"U\",\n\t\"close\":                               \"U\",\n\t\"cluster\":                             \"U\",\n\t\"clusters\":                            \"U\",\n\t\"coalesce\":                            \"C\",\n\t\"collate\":                             \"R\",\n\t\"collation\":                           \"T\",\n\t\"column\":                              \"R\",\n\t\"columns\":                             \"U\",\n\t\"comment\":                             \"U\",\n\t\"comments\":                            \"U\",\n\t\"commit\":                              \"U\",\n\t\"committed\":                           \"U\",\n\t\"compact\":                             \"U\",\n\t\"complete\":                            \"U\",\n\t\"completions\":                         \"U\",\n\t\"concurrently\":                        \"R\",\n\t\"configuration\":                       \"U\",\n\t\"configurations\":                      \"U\",\n\t\"configure\":                           \"U\",\n\t\"conflict\":                            \"U\",\n\t\"connection\":                          \"U\",\n\t\"connections\":                         \"U\",\n\t\"constraint\":                          \"R\",\n\t\"constraints\":                         \"U\",\n\t\"controlchangefeed\":                   \"U\",\n\t\"controljob\":                          \"U\",\n\t\"conversion\":                          \"U\",\n\t\"convert\":                             \"U\",\n\t\"copy\":                                \"U\",\n\t\"cost\":                                \"U\",\n\t\"covering\":                            \"U\",\n\t\"create\":                              \"R\",\n\t\"createdb\":                            \"U\",\n\t\"createlogin\":                         \"U\",\n\t\"createrole\":                          \"U\",\n\t\"cross\":                               \"T\",\n\t\"csv\":                                 \"U\",\n\t\"cube\":                                \"U\",\n\t\"current\":                             \"U\",\n\t\"current_catalog\":                     \"R\",\n\t\"current_date\":                        \"R\",\n\t\"current_role\":                        \"R\",\n\t\"current_schema\":                      \"R\",\n\t\"current_time\":                        \"R\",\n\t\"current_timestamp\":                   \"R\",\n\t\"current_user\":                        \"R\",\n\t\"cursor\":                              \"U\",\n\t\"cycle\":                               \"U\",\n\t\"data\":                                \"U\",\n\t\"database\":                            \"U\",\n\t\"databases\":                           \"U\",\n\t\"day\":                                 \"U\",\n\t\"deallocate\":                          \"U\",\n\t\"debug_ids\":                           \"U\",\n\t\"dec\":                                 \"C\",\n\t\"decimal\":                             \"C\",\n\t\"declare\":                             \"U\",\n\t\"default\":                             \"R\",\n\t\"defaults\":                            \"U\",\n\t\"deferrable\":                          \"R\",\n\t\"deferred\":                            \"U\",\n\t\"definer\":                             \"U\",\n\t\"delete\":                              \"U\",\n\t\"delimiter\":                           \"U\",\n\t\"depends\":                             \"U\",\n\t\"desc\":                                \"R\",\n\t\"destination\":                         \"U\",\n\t\"detached\":                            \"U\",\n\t\"details\":                             \"U\",\n\t\"disable\":                             \"U\",\n\t\"discard\":                             \"U\",\n\t\"distinct\":                            \"R\",\n\t\"do\":                                  \"R\",\n\t\"domain\":                              \"U\",\n\t\"double\":                              \"U\",\n\t\"drop\":                                \"U\",\n\t\"each\":                                \"U\",\n\t\"else\":                                \"R\",\n\t\"enable\":                              \"U\",\n\t\"encoding\":                            \"U\",\n\t\"encrypted\":                           \"U\",\n\t\"encryption_info_dir\":                 \"U\",\n\t\"encryption_passphrase\":               \"U\",\n\t\"end\":                                 \"R\",\n\t\"enum\":                                \"U\",\n\t\"enums\":                               \"U\",\n\t\"escape\":                              \"U\",\n\t\"except\":                              \"R\",\n\t\"exclude\":                             \"U\",\n\t\"excluding\":                           \"U\",\n\t\"execute\":                             \"U\",\n\t\"execution\":                           \"U\",\n\t\"exists\":                              \"C\",\n\t\"experimental\":                        \"U\",\n\t\"experimental_audit\":                  \"U\",\n\t\"experimental_fingerprints\":           \"U\",\n\t\"experimental_relocate\":               \"U\",\n\t\"experimental_replica\":                \"U\",\n\t\"expiration\":                          \"U\",\n\t\"explain\":                             \"U\",\n\t\"export\":                              \"U\",\n\t\"extension\":                           \"U\",\n\t\"external\":                            \"U\",\n\t\"extract\":                             \"C\",\n\t\"extract_duration\":                    \"C\",\n\t\"extremes\":                            \"U\",\n\t\"failure\":                             \"U\",\n\t\"false\":                               \"R\",\n\t\"family\":                              \"T\",\n\t\"fetch\":                               \"R\",\n\t\"files\":                               \"U\",\n\t\"filter\":                              \"U\",\n\t\"first\":                               \"U\",\n\t\"float\":                               \"C\",\n\t\"following\":                           \"U\",\n\t\"for\":                                 \"R\",\n\t\"force\":                               \"U\",\n\t\"force_index\":                         \"U\",\n\t\"force_inverted_index\":                \"U\",\n\t\"force_not_null\":                      \"U\",\n\t\"force_null\":                          \"U\",\n\t\"force_quote\":                         \"U\",\n\t\"force_zigzag\":                        \"U\",\n\t\"foreign\":                             \"R\",\n\t\"format\":                              \"U\",\n\t\"forward\":                             \"U\",\n\t\"freeze\":                              \"U\",\n\t\"from\":                                \"R\",\n\t\"full\":                                \"T\",\n\t\"function\":                            \"U\",\n\t\"functions\":                           \"U\",\n\t\"generated\":                           \"U\",\n\t\"geography\":                           \"C\",\n\t\"geometry\":                            \"C\",\n\t\"geometrycollection\":                  \"U\",\n\t\"geometrycollectionm\":                 \"U\",\n\t\"geometrycollectionz\":                 \"U\",\n\t\"geometrycollectionzm\":                \"U\",\n\t\"geometrym\":                           \"U\",\n\t\"geometryz\":                           \"U\",\n\t\"geometryzm\":                          \"U\",\n\t\"global\":                              \"U\",\n\t\"goal\":                                \"U\",\n\t\"grant\":                               \"R\",\n\t\"grantee\":                             \"U\",\n\t\"grants\":                              \"U\",\n\t\"greatest\":                            \"C\",\n\t\"group\":                               \"R\",\n\t\"grouping\":                            \"C\",\n\t\"groups\":                              \"U\",\n\t\"hash\":                                \"U\",\n\t\"having\":                              \"R\",\n\t\"header\":                              \"U\",\n\t\"high\":                                \"U\",\n\t\"histogram\":                           \"U\",\n\t\"hold\":                                \"U\",\n\t\"hour\":                                \"U\",\n\t\"identity\":                            \"U\",\n\t\"if\":                                  \"C\",\n\t\"iferror\":                             \"C\",\n\t\"ifnull\":                              \"C\",\n\t\"ignore_foreign_keys\":                 \"U\",\n\t\"ilike\":                               \"T\",\n\t\"immediate\":                           \"U\",\n\t\"immediately\":                         \"U\",\n\t\"immutable\":                           \"U\",\n\t\"import\":                              \"U\",\n\t\"in\":                                  \"R\",\n\t\"include\":                             \"U\",\n\t\"include_all_secondary_tenants\":       \"U\",\n\t\"include_all_virtual_clusters\":        \"U\",\n\t\"including\":                           \"U\",\n\t\"increment\":                           \"U\",\n\t\"incremental\":                         \"U\",\n\t\"incremental_location\":                \"U\",\n\t\"index\":                               \"U\",\n\t\"indexes\":                             \"U\",\n\t\"index_after_order_by_before_at\":      \"R\",\n\t\"index_before_name_then_paren\":        \"R\",\n\t\"index_before_paren\":                  \"R\",\n\t\"inherits\":                            \"U\",\n\t\"initially\":                           \"R\",\n\t\"inject\":                              \"U\",\n\t\"inner\":                               \"T\",\n\t\"inout\":                               \"C\",\n\t\"input\":                               \"U\",\n\t\"insensitive\":                         \"U\",\n\t\"insert\":                              \"U\",\n\t\"instead\":                             \"U\",\n\t\"int\":                                 \"C\",\n\t\"integer\":                             \"C\",\n\t\"intersect\":                           \"R\",\n\t\"interval\":                            \"C\",\n\t\"into\":                                \"R\",\n\t\"into_db\":                             \"U\",\n\t\"inverted\":                            \"U\",\n\t\"invisible\":                           \"U\",\n\t\"invoker\":                             \"U\",\n\t\"is\":                                  \"T\",\n\t\"iserror\":                             \"C\",\n\t\"isnull\":                              \"T\",\n\t\"isolation\":                           \"U\",\n\t\"job\":                                 \"U\",\n\t\"jobs\":                                \"U\",\n\t\"join\":                                \"T\",\n\t\"json\":                                \"U\",\n\t\"key\":                                 \"U\",\n\t\"keys\":                                \"U\",\n\t\"kms\":                                 \"U\",\n\t\"kv\":                                  \"U\",\n\t\"label\":                               \"U\",\n\t\"language\":                            \"U\",\n\t\"last\":                                \"U\",\n\t\"lateral\":                             \"R\",\n\t\"latest\":                              \"U\",\n\t\"lc_collate\":                          \"U\",\n\t\"lc_ctype\":                            \"U\",\n\t\"leading\":                             \"R\",\n\t\"leakproof\":                           \"U\",\n\t\"lease\":                               \"U\",\n\t\"least\":                               \"C\",\n\t\"left\":                                \"T\",\n\t\"less\":                                \"U\",\n\t\"level\":                               \"U\",\n\t\"like\":                                \"T\",\n\t\"limit\":                               \"R\",\n\t\"linestring\":                          \"U\",\n\t\"linestringm\":                         \"U\",\n\t\"linestringz\":                         \"U\",\n\t\"linestringzm\":                        \"U\",\n\t\"list\":                                \"U\",\n\t\"local\":                               \"U\",\n\t\"locality\":                            \"U\",\n\t\"localtime\":                           \"R\",\n\t\"localtimestamp\":                      \"R\",\n\t\"locked\":                              \"U\",\n\t\"logical\":                             \"U\",\n\t\"logically\":                           \"U\",\n\t\"login\":                               \"U\",\n\t\"lookup\":                              \"U\",\n\t\"low\":                                 \"U\",\n\t\"match\":                               \"U\",\n\t\"materialized\":                        \"U\",\n\t\"maxvalue\":                            \"U\",\n\t\"merge\":                               \"U\",\n\t\"method\":                              \"U\",\n\t\"minute\":                              \"U\",\n\t\"minvalue\":                            \"U\",\n\t\"mode\":                                \"U\",\n\t\"modifyclustersetting\":                \"U\",\n\t\"modifysqlclustersetting\":             \"U\",\n\t\"month\":                               \"U\",\n\t\"move\":                                \"U\",\n\t\"multilinestring\":                     \"U\",\n\t\"multilinestringm\":                    \"U\",\n\t\"multilinestringz\":                    \"U\",\n\t\"multilinestringzm\":                   \"U\",\n\t\"multipoint\":                          \"U\",\n\t\"multipointm\":                         \"U\",\n\t\"multipointz\":                         \"U\",\n\t\"multipointzm\":                        \"U\",\n\t\"multipolygon\":                        \"U\",\n\t\"multipolygonm\":                       \"U\",\n\t\"multipolygonz\":                       \"U\",\n\t\"multipolygonzm\":                      \"U\",\n\t\"names\":                               \"U\",\n\t\"nan\":                                 \"U\",\n\t\"natural\":                             \"T\",\n\t\"never\":                               \"U\",\n\t\"new\":                                 \"U\",\n\t\"new_db_name\":                         \"U\",\n\t\"new_kms\":                             \"U\",\n\t\"next\":                                \"U\",\n\t\"no\":                                  \"U\",\n\t\"nobypassrls\":                         \"U\",\n\t\"nocancelquery\":                       \"U\",\n\t\"nocontrolchangefeed\":                 \"U\",\n\t\"nocontroljob\":                        \"U\",\n\t\"nocreatedb\":                          \"U\",\n\t\"nocreatelogin\":                       \"U\",\n\t\"nocreaterole\":                        \"U\",\n\t\"node\":                                \"U\",\n\t\"nologin\":                             \"U\",\n\t\"nomodifyclustersetting\":              \"U\",\n\t\"none\":                                \"T\",\n\t\"nonvoters\":                           \"U\",\n\t\"noreplication\":                       \"U\",\n\t\"normal\":                              \"U\",\n\t\"nosqllogin\":                          \"U\",\n\t\"not\":                                 \"R\",\n\t\"nothing\":                             \"U\",\n\t\"nothing_after_returning\":             \"R\",\n\t\"notnull\":                             \"T\",\n\t\"noviewactivity\":                      \"U\",\n\t\"noviewactivityredacted\":              \"U\",\n\t\"noviewclustersetting\":                \"U\",\n\t\"nowait\":                              \"U\",\n\t\"no_full_scan\":                        \"U\",\n\t\"no_index_join\":                       \"U\",\n\t\"no_zigzag_join\":                      \"U\",\n\t\"null\":                                \"R\",\n\t\"nullif\":                              \"C\",\n\t\"nulls\":                               \"U\",\n\t\"numeric\":                             \"C\",\n\t\"of\":                                  \"U\",\n\t\"off\":                                 \"U\",\n\t\"offset\":                              \"R\",\n\t\"oids\":                                \"U\",\n\t\"old\":                                 \"U\",\n\t\"old_kms\":                             \"U\",\n\t\"on\":                                  \"R\",\n\t\"only\":                                \"R\",\n\t\"operator\":                            \"U\",\n\t\"opt\":                                 \"U\",\n\t\"option\":                              \"U\",\n\t\"options\":                             \"U\",\n\t\"or\":                                  \"R\",\n\t\"order\":                               \"R\",\n\t\"ordinality\":                          \"U\",\n\t\"others\":                              \"U\",\n\t\"out\":                                 \"C\",\n\t\"outer\":                               \"T\",\n\t\"over\":                                \"U\",\n\t\"overlaps\":                            \"T\",\n\t\"overlay\":                             \"C\",\n\t\"owned\":                               \"U\",\n\t\"owner\":                               \"U\",\n\t\"parallel\":                            \"U\",\n\t\"parent\":                              \"U\",\n\t\"partial\":                             \"U\",\n\t\"partition\":                           \"U\",\n\t\"partitions\":                          \"U\",\n\t\"password\":                            \"U\",\n\t\"pause\":                               \"U\",\n\t\"paused\":                              \"U\",\n\t\"per\":                                 \"U\",\n\t\"permissive\":                          \"U\",\n\t\"physical\":                            \"U\",\n\t\"placement\":                           \"U\",\n\t\"placing\":                             \"R\",\n\t\"plan\":                                \"U\",\n\t\"plans\":                               \"U\",\n\t\"point\":                               \"C\",\n\t\"pointm\":                              \"U\",\n\t\"pointz\":                              \"U\",\n\t\"pointzm\":                             \"U\",\n\t\"policies\":                            \"U\",\n\t\"policy\":                              \"U\",\n\t\"polygon\":                             \"C\",\n\t\"polygonm\":                            \"U\",\n\t\"polygonz\":                            \"U\",\n\t\"polygonzm\":                           \"U\",\n\t\"position\":                            \"C\",\n\t\"preceding\":                           \"U\",\n\t\"precision\":                           \"C\",\n\t\"prepare\":                             \"U\",\n\t\"prepared\":                            \"U\",\n\t\"preserve\":                            \"U\",\n\t\"primary\":                             \"R\",\n\t\"prior\":                               \"U\",\n\t\"priority\":                            \"U\",\n\t\"privileges\":                          \"U\",\n\t\"procedure\":                           \"U\",\n\t\"procedures\":                          \"U\",\n\t\"public\":                              \"U\",\n\t\"publication\":                         \"U\",\n\t\"queries\":                             \"U\",\n\t\"query\":                               \"U\",\n\t\"quote\":                               \"U\",\n\t\"range\":                               \"U\",\n\t\"ranges\":                              \"U\",\n\t\"read\":                                \"U\",\n\t\"real\":                                \"C\",\n\t\"reason\":                              \"U\",\n\t\"reassign\":                            \"U\",\n\t\"recurring\":                           \"U\",\n\t\"recursive\":                           \"U\",\n\t\"redact\":                              \"U\",\n\t\"ref\":                                 \"U\",\n\t\"references\":                          \"R\",\n\t\"referencing\":                         \"U\",\n\t\"refresh\":                             \"U\",\n\t\"region\":                              \"U\",\n\t\"regional\":                            \"U\",\n\t\"regions\":                             \"U\",\n\t\"reindex\":                             \"U\",\n\t\"relative\":                            \"U\",\n\t\"release\":                             \"U\",\n\t\"relocate\":                            \"U\",\n\t\"remove_regions\":                      \"U\",\n\t\"rename\":                              \"U\",\n\t\"repeatable\":                          \"U\",\n\t\"replace\":                             \"U\",\n\t\"replicated\":                          \"U\",\n\t\"replication\":                         \"U\",\n\t\"reset\":                               \"U\",\n\t\"restart\":                             \"U\",\n\t\"restore\":                             \"U\",\n\t\"restrict\":                            \"U\",\n\t\"restricted\":                          \"U\",\n\t\"restrictive\":                         \"U\",\n\t\"resume\":                              \"U\",\n\t\"retention\":                           \"U\",\n\t\"retry\":                               \"U\",\n\t\"return\":                              \"U\",\n\t\"returning\":                           \"R\",\n\t\"returns\":                             \"U\",\n\t\"revision_history\":                    \"U\",\n\t\"revoke\":                              \"U\",\n\t\"right\":                               \"T\",\n\t\"role\":                                \"U\",\n\t\"roles\":                               \"U\",\n\t\"rollback\":                            \"U\",\n\t\"rollup\":                              \"U\",\n\t\"routines\":                            \"U\",\n\t\"row\":                                 \"C\",\n\t\"rows\":                                \"U\",\n\t\"rule\":                                \"U\",\n\t\"running\":                             \"U\",\n\t\"savepoint\":                           \"U\",\n\t\"scans\":                               \"U\",\n\t\"scatter\":                             \"U\",\n\t\"schedule\":                            \"U\",\n\t\"schedules\":                           \"U\",\n\t\"schema\":                              \"U\",\n\t\"schemas\":                             \"U\",\n\t\"schema_only\":                         \"U\",\n\t\"scroll\":                              \"U\",\n\t\"scrub\":                               \"U\",\n\t\"search\":                              \"U\",\n\t\"second\":                              \"U\",\n\t\"secondary\":                           \"U\",\n\t\"security\":                            \"U\",\n\t\"select\":                              \"R\",\n\t\"sequence\":                            \"U\",\n\t\"sequences\":                           \"U\",\n\t\"serializable\":                        \"U\",\n\t\"server\":                              \"U\",\n\t\"service\":                             \"U\",\n\t\"session\":                             \"U\",\n\t\"sessions\":                            \"U\",\n\t\"session_user\":                        \"R\",\n\t\"set\":                                 \"U\",\n\t\"setof\":                               \"C\",\n\t\"sets\":                                \"U\",\n\t\"setting\":                             \"U\",\n\t\"settings\":                            \"U\",\n\t\"share\":                               \"U\",\n\t\"shared\":                              \"U\",\n\t\"show\":                                \"U\",\n\t\"similar\":                             \"T\",\n\t\"simple\":                              \"U\",\n\t\"size\":                                \"U\",\n\t\"skip\":                                \"U\",\n\t\"skip_localities_check\":               \"U\",\n\t\"skip_missing_foreign_keys\":           \"U\",\n\t\"skip_missing_sequences\":              \"U\",\n\t\"skip_missing_sequence_owners\":        \"U\",\n\t\"skip_missing_udfs\":                   \"U\",\n\t\"skip_missing_views\":                  \"U\",\n\t\"smallint\":                            \"C\",\n\t\"snapshot\":                            \"U\",\n\t\"some\":                                \"R\",\n\t\"source\":                              \"U\",\n\t\"split\":                               \"U\",\n\t\"sql\":                                 \"U\",\n\t\"sqllogin\":                            \"U\",\n\t\"stable\":                              \"U\",\n\t\"start\":                               \"U\",\n\t\"state\":                               \"U\",\n\t\"statement\":                           \"U\",\n\t\"statements\":                          \"U\",\n\t\"statistics\":                          \"U\",\n\t\"status\":                              \"U\",\n\t\"stdin\":                               \"U\",\n\t\"stdout\":                              \"U\",\n\t\"stop\":                                \"U\",\n\t\"storage\":                             \"U\",\n\t\"store\":                               \"U\",\n\t\"stored\":                              \"U\",\n\t\"storing\":                             \"U\",\n\t\"straight\":                            \"U\",\n\t\"stream\":                              \"U\",\n\t\"strict\":                              \"U\",\n\t\"string\":                              \"C\",\n\t\"subject\":                             \"U\",\n\t\"subscription\":                        \"U\",\n\t\"substring\":                           \"C\",\n\t\"super\":                               \"U\",\n\t\"support\":                             \"U\",\n\t\"survival\":                            \"U\",\n\t\"survive\":                             \"U\",\n\t\"symmetric\":                           \"R\",\n\t\"syntax\":                              \"U\",\n\t\"system\":                              \"U\",\n\t\"table\":                               \"R\",\n\t\"tables\":                              \"U\",\n\t\"tablespace\":                          \"U\",\n\t\"temp\":                                \"U\",\n\t\"template\":                            \"U\",\n\t\"temporary\":                           \"U\",\n\t\"tenant\":                              \"U\",\n\t\"tenants\":                             \"U\",\n\t\"tenant_name\":                         \"U\",\n\t\"testing_relocate\":                    \"U\",\n\t\"text\":                                \"U\",\n\t\"then\":                                \"R\",\n\t\"throttling\":                          \"U\",\n\t\"ties\":                                \"U\",\n\t\"time\":                                \"C\",\n\t\"timestamp\":                           \"C\",\n\t\"timestamptz\":                         \"C\",\n\t\"timetz\":                              \"C\",\n\t\"to\":                                  \"R\",\n\t\"trace\":                               \"U\",\n\t\"tracing\":                             \"U\",\n\t\"trailing\":                            \"R\",\n\t\"transaction\":                         \"U\",\n\t\"transactions\":                        \"U\",\n\t\"transfer\":                            \"U\",\n\t\"transform\":                           \"U\",\n\t\"treat\":                               \"C\",\n\t\"trigger\":                             \"U\",\n\t\"triggers\":                            \"U\",\n\t\"trim\":                                \"C\",\n\t\"true\":                                \"R\",\n\t\"truncate\":                            \"U\",\n\t\"trusted\":                             \"U\",\n\t\"type\":                                \"U\",\n\t\"types\":                               \"U\",\n\t\"unbounded\":                           \"U\",\n\t\"uncommitted\":                         \"U\",\n\t\"unidirectional\":                      \"U\",\n\t\"union\":                               \"R\",\n\t\"unique\":                              \"R\",\n\t\"unknown\":                             \"U\",\n\t\"unlisten\":                            \"U\",\n\t\"unlogged\":                            \"U\",\n\t\"unsafe_restore_incompatible_version\": \"U\",\n\t\"unset\":                               \"U\",\n\t\"unsplit\":                             \"U\",\n\t\"until\":                               \"U\",\n\t\"update\":                              \"U\",\n\t\"updates_cluster_monitoring_metrics\":  \"U\",\n\t\"upsert\":                              \"U\",\n\t\"use\":                                 \"U\",\n\t\"user\":                                \"R\",\n\t\"users\":                               \"U\",\n\t\"using\":                               \"R\",\n\t\"valid\":                               \"U\",\n\t\"validate\":                            \"U\",\n\t\"value\":                               \"U\",\n\t\"values\":                              \"C\",\n\t\"varbit\":                              \"C\",\n\t\"varchar\":                             \"C\",\n\t\"variables\":                           \"U\",\n\t\"variadic\":                            \"R\",\n\t\"varying\":                             \"U\",\n\t\"vector\":                              \"C\",\n\t\"verify_backup_table_data\":            \"U\",\n\t\"view\":                                \"U\",\n\t\"viewactivity\":                        \"U\",\n\t\"viewactivityredacted\":                \"U\",\n\t\"viewclustermetadata\":                 \"U\",\n\t\"viewclustersetting\":                  \"U\",\n\t\"viewdebug\":                           \"U\",\n\t\"virtual\":                             \"C\",\n\t\"virtual_cluster\":                     \"U\",\n\t\"virtual_cluster_name\":                \"U\",\n\t\"visibility\":                          \"U\",\n\t\"visible\":                             \"U\",\n\t\"volatile\":                            \"U\",\n\t\"voters\":                              \"U\",\n\t\"when\":                                \"R\",\n\t\"where\":                               \"R\",\n\t\"window\":                              \"R\",\n\t\"with\":                                \"R\",\n\t\"within\":                              \"U\",\n\t\"without\":                             \"U\",\n\t\"work\":                                \"C\",\n\t\"write\":                               \"U\",\n\t\"year\":                                \"U\",\n\t\"zone\":                                \"U\",\n}\n```\n\n## Functions\n\n```go\nfunc EncodeEscapedSQLIdent(buf *bytes.Buffer, s string)\n```\nEncodeEscapedSQLIdent writes the identifier in s to buf. The identifier is always quoted. Double quotes inside the identifier are escaped.\n\n```go\nfunc EncodeRestrictedSQLIdent(buf *bytes.Buffer, s string, flags EncodeFlags)\n```\nEncodeRestrictedSQLIdent writes the identifier in s to buf. The identifier is quoted if either the flags ask for it, the identifier contains special characters, or the identifier is a reserved SQL keyword.\n\n```go\nfunc EncodeSQLBytes(buf *bytes.Buffer, in string)\n```\nEncodeSQLBytes encodes the SQL byte array in 'in' to buf, to a format suitable for re-scanning. We don't use a straightforward hex encoding here with x'...'  because the result would be less compact. We are trading a little more time during the encoding to have a little less bytes on the wire.\n\n```go\nfunc EncodeSQLBytesInner(buf *bytes.Buffer, in string)\n```\nEncodeSQLBytesInner is like EncodeSQLBytes but does not include the outer quote delimiter and the 'b' prefix.\n\n```go\nfunc EncodeSQLString(buf *bytes.Buffer, in string)\n```\nEncodeSQLString writes a string literal to buf. All unicode and non-printable characters are escaped.\n\n```go\nfunc EncodeSQLStringWithFlags(buf *bytes.Buffer, in string, flags EncodeFlags)\n```\nEncodeSQLStringWithFlags writes a string literal to buf. All unicode and non-printable characters are escaped. flags controls the output format: if encodeBareString is set, the output string will not be wrapped in quotes if the strings contains no special characters.\n\n```go\nfunc EncodeUnrestrictedSQLIdent(buf *bytes.Buffer, s string, flags EncodeFlags)\n```\nEncodeUnrestrictedSQLIdent writes the identifier in s to buf. The identifier is only quoted if the flags don't tell otherwise and the identifier contains special characters.\n\n```go\nfunc EscapeSQLIdent(s string) string\n```\nEscapeSQLIdent ensures that the potential identifier in s is fully quoted, so that any special character it contains is not at risk of \"spilling\" in the surrounding syntax.\n\n```go\nfunc EscapeSQLString(in string) string\n```\nEscapeSQLString returns an escaped SQL representation of the given string. This is suitable for safely producing a SQL string valid for input to the parser.\n\n```go\nfunc GetKeywordID(k string) int32\n```\nGetKeywordID returns the lex id of the SQL keyword k or IDENT if k is not a keyword.\n\n```go\nfunc IsBareIdentifier(s string) bool\n```\nIsBareIdentifier returns true if the input string is a permissible bare SQL identifier.\n\n```go\nfunc IsDigit(ch int) bool\n```\nIsDigit returns true if the character is between 0 and 9.\n\n```go\nfunc IsHexDigit(ch int) bool\n```\nIsHexDigit returns true if the character is a valid hexadecimal digit.\n\n```go\nfunc IsIdentMiddle(ch int) bool\n```\nIsIdentMiddle returns true if the character is valid inside an identifier.\n\n```go\nfunc IsIdentStart(ch int) bool\n```\nIsIdentStart returns true if the character is valid at the start of an identifier.\n\n```go\nfunc NormalizeName(n string) string\n```\nNormalizeName normalizes to lowercase and Unicode Normalization Form C (NFC).\n\n```go\nfunc NormalizeString(s string) string\n```\nNormalizeString normalizes to Unicode Normalization Form C (NFC). This function is specifically for double quoted identifiers.\n\n## Types\n\n```go\ntype EncodeFlags int\n```\nEncodeFlags influence the formatting of strings and identifiers.\n\n```go\nconst (\n\t// EncNoFlags indicates nothing special should happen while encoding.\n\tEncNoFlags EncodeFlags = 0\n\n\t// EncBareStrings indicates that strings will be rendered without\n\t// wrapping quotes if they contain no special characters.\n\tEncBareStrings EncodeFlags = 1 \u003c\u003c iota\n\n\t// EncBareIdentifiers indicates that identifiers will be rendered\n\t// without wrapping quotes.\n\tEncBareIdentifiers\n\n\t// EncBareReservedKeywords indicates that reserved keywords will be rendered\n\t// without wrapping quotes.\n\tEncBareReservedKeywords\n\n\t// EncFirstFreeFlagBit needs to remain unused; it is used as base\n\t// bit offset for tree.FmtFlags.\n\tEncFirstFreeFlagBit\n\n\t// EncAlwaysQuoted makes sure the string is always wrapped with quotes.\n\t// This is used only to construct a statement against Oracle source,\n\t// as Oracle is case insensitive if object name is not quoted.\n\tEncAlwaysQuoted\n)\n```\n\n```go\nfunc (f EncodeFlags) HasFlags(subset EncodeFlags) bool\n```\nHasFlags tests whether the given flags are set.\n\n","path":"github.com/cockroachdb/cockroachdb-parser/pkg/sql/lexbase","name":"lexbase","synopsis":"Package lexbase contains utilities for lexing sql.","isRedistributable":true}
