lex

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const ABORT = 57370
View Source
const ACCESS = 57371
View Source
const ACTION = 57372
View Source
const ADD = 57373
View Source
const ADMIN = 57374
View Source
const AFTER = 57375
View Source
const AGGREGATE = 57376
View Source
const ALIGNMENT = 57377
View Source
const ALL = 57378
View Source
const ALLOW_CONNECTIONS = 57379
View Source
const ALTER = 57380
View Source
const ALWAYS = 57381
View Source
const ANALYSE = 57382
View Source
const ANALYZE = 57383
View Source
const AND = 57384
View Source
const AND_AND = 57385
View Source
const ANNOTATE_TYPE = 57387
View Source
const ANY = 57386
View Source
const ARRAY = 57388
View Source
const AS = 57389
View Source
const ASC = 57390
View Source
const ASSIGNMENT = 57391
View Source
const ASYMMETRIC = 57392
View Source
const AS_LA = 58078
View Source
const AT = 57393
View Source
const ATOMIC = 57394
View Source
const ATTACH = 57395
View Source
const ATTRIBUTE = 57396
View Source
const AUTHORIZATION = 57397
View Source
const AUTO = 57398
View Source
const AUTOMATIC = 57399
View Source
const BACKUP = 57400
View Source
const BACKUPS = 57401
View Source
const BASETYPE = 57402
View Source
const BCONST = 57348
View Source
const BEFORE = 57403
View Source
const BEGIN = 57404
View Source
const BETWEEN = 57405
View Source
const BIGINT = 57406
View Source
const BIGSERIAL = 57407
View Source
const BINARY = 57408
View Source
const BIT = 57409
View Source
const BITCONST = 57349
View Source
const BLOCK_COMMENT = 57454
View Source
const BOOLEAN = 57414
View Source
const BOTH = 57415
View Source
const BOX2D = 57416
View Source
const BPCHAR = 57435
View Source
const BUCKET_COUNT = 57413
View Source
const BUFFER_USAGE_LIMIT = 57417
View Source
const BUNDLE = 57418
View Source
const BY = 57419
View Source
const BYPASSRLS = 57420
View Source
const CACHE = 57421
View Source
const CALL = 57423
View Source
const CALLED = 57424
View Source
const CANCEL = 57425
View Source
const CANCELQUERY = 57426
View Source
const CANONICAL = 57427
View Source
const CASCADE = 57428
View Source
const CASCADED = 57429
View Source
const CASE = 57430
View Source
const CAST = 57431
View Source
const CATEGORY = 57432
View Source
const CBRT = 57433
View Source
const CHAIN = 57422
View Source
const CHANGEFEED = 57434
View Source
const CHAR = 57436
View Source
const CHARACTER = 57437
View Source
const CHARACTERISTICS = 57438
View Source
const CHECK = 57439
View Source
const CHECK_OPTION = 57440
View Source
const CLASS = 57441
View Source
const CLOSE = 57442
View Source
const CLUSTER = 57443
View Source
const COALESCE = 57444
View Source
const COLLATABLE = 57445
View Source
const COLLATE = 57446
View Source
const COLLATION = 57447
View Source
const COLLATION_VERSION = 57448
View Source
const COLUMN = 57449
View Source
const COLUMNS = 57450
View Source
const COMBINEFUNC = 57451
View Source
const COMMENT = 57452
View Source
const COMMENTS = 57453
View Source
const COMMIT = 57456
View Source
const COMMITTED = 57457
View Source
const COMMUTATOR = 57458
View Source
const COMPACT = 57459
View Source
const COMPLETE = 57460
View Source
const COMPRESSION = 57461
View Source
const CONCAT = 57462
View Source
const CONCURRENTLY = 57463
View Source
const CONDITIONAL = 57467
View Source
const CONFIGURATION = 57464
View Source
const CONFIGURATIONS = 57465
View Source
const CONFIGURE = 57466
View Source
const CONFLICT = 57468
View Source
const CONNECT = 57469
View Source
const CONNECTION = 57470
View Source
const CONSTRAINT = 57471
View Source
const CONSTRAINTS = 57472
View Source
const CONTAINED_BY = 58080
View Source
const CONTAINS = 57473
View Source
const CONTENT = 57474
View Source
const CONTROLCHANGEFEED = 57475
View Source
const CONTROLJOB = 57476
View Source
const CONVERSION = 57477
View Source
const CONVERT = 57478
View Source
const COPY = 57479
View Source
const COSINE_DISTANCE = 57364
View Source
const COST = 57480
View Source
const CREATE = 57481
View Source
const CREATEDB = 57482
View Source
const CREATELOGIN = 57483
View Source
const CREATEROLE = 57484
View Source
const CROSS = 57485
View Source
const CSV = 57411
View Source
const CUBE = 57486
View Source
const CURRENT = 57487
View Source
const CURRENT_CATALOG = 57488
View Source
const CURRENT_DATE = 57489
View Source
const CURRENT_ROLE = 57491
View Source
const CURRENT_SCHEMA = 57490
View Source
const CURRENT_TIME = 57492
View Source
const CURRENT_TIMESTAMP = 57493
View Source
const CURRENT_USER = 57494
View Source
const CYCLE = 57495
View Source
const DATA = 57496
View Source
const DATABASE = 57497
View Source
const DATABASES = 57498
View Source
const DATE = 57499
View Source
const DAY = 57500
View Source
const DEALLOCATE = 57501
View Source
const DEC = 57502
View Source
const DECIMAL = 57503
View Source
const DECLARE = 57504
View Source
const DEFAULT = 57505
View Source
const DEFAULTS = 57506
View Source
const DEFERRABLE = 57507
View Source
const DEFERRED = 57508
View Source
const DEFINER = 57509
View Source
const DELETE = 57510
View Source
const DELIMITER = 57511
View Source
const DEPENDS = 57512
View Source
const DESC = 57513
View Source
const DESCRIBE = 57514
View Source
const DESERIALFUNC = 57515
View Source
const DESTINATION = 57516
View Source
const DETACH = 57517
View Source
const DETACHED = 57518
View Source
const DICTIONARY = 57519
View Source
const DISABLE = 57520
View Source
const DISABLE_PAGE_SKIPPING = 57521
View Source
const DISCARD = 57522
View Source
const DISTINCT = 57523
View Source
const DO = 57524
View Source
const DOCUMENT = 57525
View Source
const DOMAIN = 57526
View Source
const DOT_DOT = 57355
View Source
const DOUBLE = 57527
View Source
const DROP = 57528
View Source
const EACH = 57529
View Source
const ELEMENT = 57530
View Source
const ELSE = 57531
View Source
const EMPTY = 57532
View Source
const ENABLE = 57533
View Source
const ENCODING = 57534
View Source
const ENCRYPTED = 57536
View Source
const ENCRYPTION_PASSPHRASE = 57535
View Source
const END = 57537
View Source
const ENUM = 57538
View Source
const ENUMS = 57539
View Source
const ERROR = 57369
View Source
const ESCAPE = 57540
View Source
const EVENT = 57541
View Source
const EXCEPT = 57542
View Source
const EXCLUDE = 57543
View Source
const EXCLUDING = 57544
View Source
const EXECUTE = 57546
View Source
const EXECUTION = 57547
View Source
const EXISTS = 57545
View Source
const EXPERIMENTAL = 57548
View Source
const EXPERIMENTAL_AUDIT = 57551
View Source
const EXPERIMENTAL_FINGERPRINTS = 57549
View Source
const EXPERIMENTAL_REPLICA = 57550
View Source
const EXPIRATION = 57552
View Source
const EXPLAIN = 57553
View Source
const EXPORT = 57554
View Source
const EXPRESSION = 57555
View Source
const EXTENDED = 57556
View Source
const EXTENSION = 57557
View Source
const EXTERNAL = 57558
View Source
const EXTRACT = 57559
View Source
const EXTRACT_DURATION = 57560
View Source
const FALSE = 57561
View Source
const FAMILY = 57562
View Source
const FCONST = 57351
View Source
const FETCH = 57563
View Source
const FETCHTEXT = 57565
View Source
const FETCHTEXT_PATH = 57567
View Source
const FETCHVAL = 57564
View Source
const FETCHVAL_PATH = 57566
View Source
const FILES = 57568
View Source
const FILTER = 57569
View Source
const FINALFUNC = 57570
View Source
const FINALFUNC_EXTRA = 57571
View Source
const FINALFUNC_MODIFY = 57572
View Source
const FINALIZE = 57573
View Source
const FIRST = 57574
View Source
const FLOAT = 57575
View Source
const FLOAT4 = 57576
View Source
const FLOAT8 = 57577
View Source
const FLOORDIV = 57578
View Source
const FOLLOWING = 57579
View Source
const FOR = 57580
View Source
const FORCE = 57581
View Source
const FORCE_INDEX = 57582
View Source
const FOREIGN = 57583
View Source
const FORMAT = 57410
View Source
const FREEZE = 57584
View Source
const FROM = 57585
View Source
const FULL = 57586
View Source
const FUNCTION = 57587
View Source
const FUNCTIONS = 57588
View Source
const GENERATED = 57589
View Source
const GENERATED_ALWAYS = 58079
View Source
const GEOGRAPHY = 57590
View Source
const GEOMETRY = 57591
View Source
const GEOMETRYCOLLECTION = 57595
View Source
const GEOMETRYCOLLECTIONM = 57596
View Source
const GEOMETRYCOLLECTIONZ = 57597
View Source
const GEOMETRYCOLLECTIONZM = 57598
View Source
const GEOMETRYM = 57592
View Source
const GEOMETRYZ = 57593
View Source
const GEOMETRYZM = 57594
View Source
const GLOBAL = 57599
View Source
const GRANT = 57600
View Source
const GRANTED = 57601
View Source
const GRANTS = 57602
View Source
const GREATER_EQUALS = 57357
View Source
const GREATEST = 57603
View Source
const GROUP = 57604
View Source
const GROUPING = 57605
View Source
const GROUPS = 57606
View Source
const HAMMING_DISTANCE = 57367
View Source
const HANDLER = 57607
View Source
const HASH = 57608
View Source
const HASHES = 57609
View Source
const HAVING = 57610
View Source
const HEADER = 57412
View Source
const HELPTOKEN = 58083
View Source
const HIGH = 57611
View Source
const HINT = 57455
View Source
const HISTOGRAM = 57612
View Source
const HOUR = 57613
View Source
const HYPOTHETICAL = 57614
View Source
const ICONST = 57350
View Source
const ICU_LOCALE = 57615
View Source
const ICU_RULES = 57616
View Source
const IDENT = 57346
View Source
const IDENTITY = 57617
View Source
const IF = 57618
View Source
const IFERROR = 57619
View Source
const IFNULL = 57620
View Source
const IGNORE_FOREIGN_KEYS = 57621
View Source
const ILIKE = 57622
View Source
const IMMEDIATE = 57623
View Source
const IMMUTABLE = 57625
View Source
const IMPLICIT = 57624
View Source
const IMPORT = 57626
View Source
const IN = 57627
View Source
const INCLUDE = 57628
View Source
const INCLUDING = 57629
View Source
const INCREMENT = 57630
View Source
const INCREMENTAL = 57631
View Source
const INDEX = 57635
View Source
const INDEXES = 57637
View Source
const INDEX_CLEANUP = 57636
View Source
const INET = 57632
View Source
const INET_CONTAINED_BY_OR_EQUALS = 57633
View Source
const INET_CONTAINS_OR_EQUALS = 57634
View Source
const INHERIT = 57638
View Source
const INHERITS = 57639
View Source
const INITCOND = 57640
View Source
const INITIALLY = 57645
View Source
const INJECT = 57641
View Source
const INLINE = 57642
View Source
const INNER = 57646
View Source
const INOUT = 57647
View Source
const INPUT = 57643
View Source
const INSERT = 57648
View Source
const INSTEAD = 57649
View Source
const INT = 57650
View Source
const INTEGER = 57651
View Source
const INTERLEAVE = 57644
View Source
const INTERNALLENGTH = 57652
View Source
const INTERSECT = 57653
View Source
const INTERVAL = 57654
View Source
const INTO = 57655
View Source
const INTO_DB = 57656
View Source
const INVERTED = 57657
View Source
const INVOKER = 57658
View Source
const IS = 57659
View Source
const ISERROR = 57660
View Source
const ISNULL = 57661
View Source
const ISOLATION = 57662
View Source
const IS_TEMPLATE = 57663
View Source
const JACCARD_DISTANCE = 57366
View Source
const JOB = 57664
View Source
const JOBS = 57665
View Source
const JOIN = 57666
View Source
const JSON = 57667
View Source
const JSONB = 57668
View Source
const JSON_ALL_EXISTS = 57670
View Source
const JSON_SOME_EXISTS = 57669
View Source
const JSON_TABLE = 57671
View Source
const KEEP = 57672
View Source
const KEY = 57673
View Source
const KEYS = 57674
View Source
const KMS = 57675
View Source
const KV = 57676
View Source
const L1_DISTANCE = 57362
View Source
const L2_DISTANCE = 57363
View Source
const LANGUAGE = 57677
View Source
const LARGE = 57678
View Source
const LAST = 57679
View Source
const LATERAL = 57680
View Source
const LATEST = 57681
View Source
const LC_COLLATE = 57683
View Source
const LC_CTYPE = 57682
View Source
const LEADING = 57684
View Source
const LEAKPROOF = 57685
View Source
const LEASE = 57686
View Source
const LEAST = 57687
View Source
const LEFT = 57688
View Source
const LEFTARG = 57689
View Source
const LESS = 57690
View Source
const LESS_EQUALS = 57356
View Source
const LEVEL = 57691
View Source
const LIKE = 57692
View Source
const LIMIT = 57693
View Source
const LINESTRING = 57694
View Source
const LINESTRINGM = 57695
View Source
const LINESTRINGZ = 57696
View Source
const LINESTRINGZM = 57697
View Source
const LIST = 57698
View Source
const LOCAL = 57699
View Source
const LOCALE = 57700
View Source
const LOCALE_PROVIDER = 57701
View Source
const LOCALTIME = 57702
View Source
const LOCALTIMESTAMP = 57703
View Source
const LOCKED = 57704
View Source
const LOGGED = 57705
View Source
const LOGIN = 57706
View Source
const LOOKUP = 57707
View Source
const LOW = 57708
View Source
const LSHIFT = 57709
View Source
const MAIN = 57710
View Source
const MATCH = 57711
View Source
const MATERIALIZED = 57712
View Source
const MAXVALUE = 57713
View Source
const MERGE = 57714
View Source
const MERGES = 57715
View Source
const METHOD = 57716
View Source
const MFINALFUNC = 57717
View Source
const MFINALFUNC_EXTRA = 57718
View Source
const MFINALFUNC_MODIFY = 57719
View Source
const MINITCOND = 57720
View Source
const MINUTE = 57721
View Source
const MINVALUE = 57722
View Source
const MINVFUNC = 57723
View Source
const MODIFYCLUSTERSETTING = 57724
View Source
const MODULUS = 57725
View Source
const MONTH = 57726
View Source
const MSFUNC = 57727
View Source
const MSPACE = 57728
View Source
const MSSPACE = 57729
View Source
const MSTYPE = 57730
View Source
const MULTILINESTRING = 57731
View Source
const MULTILINESTRINGM = 57732
View Source
const MULTILINESTRINGZ = 57733
View Source
const MULTILINESTRINGZM = 57734
View Source
const MULTIPOINT = 57735
View Source
const MULTIPOINTM = 57736
View Source
const MULTIPOINTZ = 57737
View Source
const MULTIPOINTZM = 57738
View Source
const MULTIPOLYGON = 57739
View Source
const MULTIPOLYGONM = 57740
View Source
const MULTIPOLYGONZ = 57741
View Source
const MULTIPOLYGONZM = 57742
View Source
const MULTIRANGE_TYPE_NAME = 57743
View Source
const NAME = 57745
View Source
const NAMES = 57746
View Source
const NAN = 57744
View Source
const NATURAL = 57747
View Source
const NEGATOR = 57748
View Source
const NEG_INNER_PRODUCT = 57365
View Source
const NESTED = 57749
View Source
const NEVER = 57750
View Source
const NEW = 57751
View Source
const NEXT = 57752
View Source
const NO = 57753
View Source
const NOBYPASSRLS = 57757
View Source
const NOCANCELQUERY = 57754
View Source
const NOCONTROLCHANGEFEED = 57755
View Source
const NOCONTROLJOB = 57756
View Source
const NOCREATEDB = 57758
View Source
const NOCREATELOGIN = 57759
View Source
const NOCREATEROLE = 57760
View Source
const NOINHERIT = 57761
View Source
const NOLOGIN = 57762
View Source
const NOMODIFYCLUSTERSETTING = 57763
View Source
const NONE = 57767
View Source
const NOREPLICATION = 57764
View Source
const NORMAL = 57768
View Source
const NOSUPERUSER = 57765
View Source
const NOT = 57769
View Source
const NOTHING = 57770
View Source
const NOTNULL = 57771
View Source
const NOT_EQUALS = 57358
View Source
const NOT_LA = 58075
View Source
const NOT_REGIMATCH = 57361
View Source
const NOT_REGMATCH = 57359
View Source
const NOVIEWACTIVITY = 57772
View Source
const NOWAIT = 57773
View Source
const NO_INDEX_JOIN = 57766
View Source
const NULL = 57774
View Source
const NULLIF = 57775
View Source
const NULLS = 57776
View Source
const NUMERIC = 57777
View Source
const OBJECT = 57779
View Source
const OF = 57780
View Source
const OFF = 57781
View Source
const OFFSET = 57782
View Source
const OID = 57783
View Source
const OIDS = 57784
View Source
const OIDVECTOR = 57785
View Source
const OLD = 57786
View Source
const OMIT = 57787
View Source
const ON = 57788
View Source
const ONLY = 57789
View Source
const ONLY_DATABASE_STATS = 57790
View Source
const OPERATOR = 57806
View Source
const OPT = 57791
View Source
const OPTION = 57792
View Source
const OPTIONS = 57793
View Source
const OR = 57794
View Source
const ORDER = 57795
View Source
const ORDINALITY = 57796
View Source
const OTHERS = 57797
View Source
const OUT = 57798
View Source
const OUTER = 57799
View Source
const OUTPUT = 57800
View Source
const OVER = 57801
View Source
const OVERLAPS = 57802
View Source
const OVERLAY = 57803
View Source
const OWNED = 57804
View Source
const OWNER = 57805
View Source
const PARALLEL = 57807
View Source
const PARAMETER = 57808
View Source
const PARENT = 57809
View Source
const PARSER = 57810
View Source
const PARTIAL = 57811
View Source
const PARTITION = 57812
View Source
const PARTITIONS = 57813
View Source
const PASSEDBYVALUE = 57814
View Source
const PASSING = 57815
View Source
const PASSWORD = 57816
View Source
const PATH = 57817
View Source
const PAUSE = 57818
View Source
const PAUSED = 57819
View Source
const PHYSICAL = 57820
View Source
const PLACEHOLDER = 57352
View Source
const PLACING = 57821
View Source
const PLAIN = 57822
View Source
const PLAN = 57823
View Source
const PLANS = 57824
View Source
const POINT = 57825
View Source
const POINTM = 57826
View Source
const POINTZ = 57827
View Source
const POINTZM = 57828
View Source
const POLICY = 57829
View Source
const POLYGON = 57830
View Source
const POLYGONM = 57831
View Source
const POLYGONZ = 57832
View Source
const POLYGONZM = 57833
View Source
const POSITION = 57834
View Source
const POSTFIXOP = 58081
View Source
const PRECEDING = 57835
View Source
const PRECISION = 57836
View Source
const PREFERRED = 57837
View Source
const PREPARE = 57838
View Source
const PRESERVE = 57839
View Source
const PRIMARY = 57840
View Source
const PRIORITY = 57841
View Source
const PRIVILEGES = 57842
View Source
const PROCEDURAL = 57843
View Source
const PROCEDURE = 57844
View Source
const PROCEDURES = 57845
View Source
const PROCESS_MAIN = 57846
View Source
const PROCESS_TOAST = 57847
View Source
const PUBLIC = 57848
View Source
const PUBLICATION = 57849
View Source
const QUERIES = 57850
View Source
const QUERY = 57851
View Source
const QUOTES = 57852
View Source
const RANGE = 57853
View Source
const RANGES = 57854
View Source
const READ = 57855
View Source
const READ_ONLY = 57856
View Source
const READ_WRITE = 57857
View Source
const REAL = 57858
View Source
const RECEIVE = 57859
View Source
const RECURRING = 57861
View Source
const RECURSIVE = 57860
View Source
const REF = 57862
View Source
const REFERENCES = 57863
View Source
const REFERENCING = 57864
View Source
const REFRESH = 57865
View Source
const REGCLASS = 57866
View Source
const REGIMATCH = 57360
View Source
const REGNAMESPACE = 57869
View Source
const REGPROC = 57867
View Source
const REGPROCEDURE = 57868
View Source
const REGTYPE = 57870
View Source
const REINDEX = 57871
View Source
const RELEASE = 57872
View Source
const REMAINDER = 57873
View Source
const REMOVE_PATH = 57874
View Source
const RENAME = 57875
View Source
const REPEATABLE = 57876
View Source
const REPLACE = 57877
View Source
const REPLICA = 57878
View Source
const REPLICATION = 57879
View Source
const RESET = 57880
View Source
const RESTART = 57881
View Source
const RESTORE = 57882
View Source
const RESTRICT = 57883
View Source
const RESTRICTED = 57884
View Source
const RESUME = 57885
View Source
const RETRY = 57886
View Source
const RETURN = 57887
View Source
const RETURNING = 57888
View Source
const RETURNS = 57889
View Source
const REVISION_HISTORY = 57890
View Source
const REVOKE = 57891
View Source
const RIGHT = 57892
View Source
const RIGHTARG = 57893
View Source
const ROLE = 57894
View Source
const ROLES = 57895
View Source
const ROLLBACK = 57898
View Source
const ROLLUP = 57899
View Source
const ROUTINE = 57896
View Source
const ROUTINES = 57897
View Source
const ROW = 57900
View Source
const ROWS = 57901
View Source
const RSHIFT = 57902
View Source
const RULE = 57903
View Source
const RUNNING = 57904
View Source
const SAFE = 57905
View Source
const SAVEPOINT = 57906
View Source
const SCALAR = 57907
View Source
const SCATTER = 57908
View Source
const SCHEDULE = 57909
View Source
const SCHEDULES = 57910
View Source
const SCHEMA = 57911
View Source
const SCHEMAS = 57912
View Source
const SCONST = 57347
View Source
const SCRUB = 57913
View Source
const SEARCH = 57914
View Source
const SECOND = 57915
View Source
const SECURITY = 57916
View Source
const SECURITY_BARRIER = 57917
View Source
const SECURITY_INVOKER = 57918
View Source
const SEED = 57919
View Source
const SELECT = 57920
View Source
const SEND = 57921
View Source
const SEQUENCE = 57932
View Source
const SEQUENCES = 57933
View Source
const SERIALFUNC = 57922
View Source
const SERIALIZABLE = 57923
View Source
const SERVER = 57924
View Source
const SESSION = 57925
View Source
const SESSIONS = 57926
View Source
const SESSION_USER = 57927
View Source
const SET = 57928
View Source
const SETOF = 57929
View Source
const SETTING = 57930
View Source
const SETTINGS = 57931
View Source
const SFUNC = 57934
View Source
const SHARE = 57935
View Source
const SHAREABLE = 57936
View Source
const SHOW = 57937
View Source
const SIMILAR = 57938
View Source
const SIMPLE = 57939
View Source
const SKIP = 57940
View Source
const SKIP_DATABASE_STATS = 57942
View Source
const SKIP_LOCKED = 57941
View Source
const SKIP_MISSING_FOREIGN_KEYS = 57943
View Source
const SKIP_MISSING_SEQUENCES = 57944
View Source
const SKIP_MISSING_SEQUENCE_OWNERS = 57945
View Source
const SKIP_MISSING_VIEWS = 57946
View Source
const SMALLINT = 57947
View Source
const SMALLSERIAL = 57948
View Source
const SNAPSHOT = 57949
View Source
const SOME = 57950
View Source
const SORTOP = 57951
View Source
const SPLIT = 57952
View Source
const SQL = 57953
View Source
const SQRT = 57954
View Source
const SSPACE = 57955
View Source
const STABLE = 57956
View Source
const STANDALONE = 57957
View Source
const START = 57958
View Source
const STATEMENT = 57959
View Source
const STATISTICS = 57960
View Source
const STATUS = 57961
View Source
const STDIN = 57962
View Source
const STDOUT = 57963
View Source
const STORAGE = 57968
View Source
const STORE = 57969
View Source
const STORED = 57970
View Source
const STRATEGY = 57964
View Source
const STRICT = 57965
View Source
const STRING = 57966
View Source
const STRIP = 57967
View Source
const STYPE = 57971
View Source
const SUBSCRIPT = 57972
View Source
const SUBSCRIPTION = 57973
View Source
const SUBSTRING = 57974
View Source
const SUBTYPE = 57975
View Source
const SUBTYPE_DIFF = 57976
View Source
const SUBTYPE_OPCLASS = 57977
View Source
const SUPERUSER = 57978
View Source
const SUPPORT = 57979
View Source
const SYMMETRIC = 57980
View Source
const SYNTAX = 57981
View Source
const SYSID = 57982
View Source
const SYSTEM = 57983
View Source
const TABLE = 57984
View Source
const TABLES = 57985
View Source
const TABLESPACE = 57986
View Source
const TEMP = 57987
View Source
const TEMPLATE = 57988
View Source
const TEMPORARY = 57989
View Source
const TEXT = 57990
View Source
const TEXTSEARCHMATCH = 57368
View Source
const THEN = 57991
View Source
const THROTTLING = 57998
View Source
const TIES = 57992
View Source
const TIME = 57993
View Source
const TIMESTAMP = 57995
View Source
const TIMESTAMPTZ = 57996
View Source
const TIMETZ = 57994
View Source
const TO = 57997
View Source
const TRACE = 58000
View Source
const TRACING = 58001
View Source
const TRAILING = 57999
View Source
const TRANSACTION = 58002
View Source
const TRANSACTIONS = 58003
View Source
const TRANSFORM = 58004
View Source
const TREAT = 58005
View Source
const TRIGGER = 58006
View Source
const TRIM = 58007
View Source
const TRUE = 58008
View Source
const TRUNCATE = 58009
View Source
const TRUSTED = 58010
View Source
const TYPE = 58011
View Source
const TYPEANNOTATE = 57354
View Source
const TYPECAST = 57353
View Source
const TYPES = 58012
View Source
const TYPMOD_IN = 58013
View Source
const TYPMOD_OUT = 58014
View Source
const UMINUS = 58082
View Source
const UNBOUNDED = 58015
View Source
const UNCOMMITTED = 58016
View Source
const UNCONDITIONAL = 58017
View Source
const UNION = 58018
View Source
const UNIQUE = 58019
View Source
const UNKNOWN = 58020
View Source
const UNLOGGED = 58021
View Source
const UNSAFE = 58022
View Source
const UNSPLIT = 58023
View Source
const UNTIL = 58026
View Source
const UPDATE = 58024
View Source
const UPSERT = 58025
View Source
const USAGE = 58027
View Source
const USE = 58028
View Source
const USER = 58029
View Source
const USERS = 58030
View Source
const USING = 58031
View Source
const UUID = 58032
View Source
const VACUUM = 58033
View Source
const VALID = 58034
View Source
const VALIDATE = 58035
View Source
const VALIDATOR = 58036
View Source
const VALUE = 58037
View Source
const VALUES = 58038
View Source
const VARBIT = 58040
View Source
const VARCHAR = 58041
View Source
const VARIABLE = 58042
View Source
const VARIADIC = 58043
View Source
const VARYING = 58044
View Source
const VERBOSE = 58039
View Source
const VERSION = 58045
View Source
const VIEW = 58046
View Source
const VIEWACTIVITY = 58047
View Source
const VIRTUAL = 58048
View Source
const VOLATILE = 58049
View Source
const WHEN = 58050
View Source
const WHERE = 58051
View Source
const WHITESPACE = 58052
View Source
const WINDOW = 58053
View Source
const WITH = 58054
View Source
const WITHIN = 58055
View Source
const WITHOUT = 58056
View Source
const WITHOUT_LA = 58077
View Source
const WITH_LA = 58076
View Source
const WORK = 58057
View Source
const WRAPPER = 58058
View Source
const WRITE = 58059
View Source
const XML = 58060
View Source
const XMLATTRIBUTES = 58061
View Source
const XMLCONCAT = 58062
View Source
const XMLELEMENT = 58063
View Source
const XMLEXISTS = 58064
View Source
const XMLFOREST = 58065
View Source
const XMLNAMESPACES = 58066
View Source
const XMLPARSE = 58067
View Source
const XMLPI = 58068
View Source
const XMLROOT = 58069
View Source
const XMLSERIALIZE = 58070
View Source
const XMLTABLE = 58071
View Source
const YAML = 58072
View Source
const YEAR = 58073
View Source
const YES = 57778
View Source
const ZONE = 58074

Variables

View Source
var AllowedExperimental = map[string]struct{}{
	"ranges": {},
}

AllowedExperimental 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.

View Source
var KeywordNames = []string{}/* 669 elements not displayed */

KeywordNames contains all keywords sorted, so that pg_get_keywords returns deterministic results.

View Source
var KeywordsCategories = map[string]string{}/* 669 elements not displayed */

Functions

func DecodeRawBytesToByteArray

func DecodeRawBytesToByteArray(data string, be BytesEncodeFormat) ([]byte, error)

DecodeRawBytesToByteArray converts raw bytes to a SQL-level byte array according to the encoding specification in "be". When using the Hex format, the caller is responsible for skipping the "\x" prefix, if any. See DecodeRawBytesToByteArrayAuto() below for an alternative.

func DecodeRawBytesToByteArrayAuto

func DecodeRawBytesToByteArrayAuto(data []byte) ([]byte, error)

DecodeRawBytesToByteArrayAuto detects which format to use with DecodeRawBytesToByteArray(). It only supports hex ("\x" prefix) and escape.

func EncodeByteArrayToRawBytes

func EncodeByteArrayToRawBytes(data string, be BytesEncodeFormat, skipHexPrefix bool) string

EncodeByteArrayToRawBytes converts a SQL-level byte array into raw bytes according to the encoding specification in "be". If the skipHexPrefix argument is set, the hexadecimal encoding does not prefix the output with "\x". This is suitable e.g. for the encode() built-in.

func EncodeEscapedSQLIdent

func EncodeEscapedSQLIdent(buf *bytes.Buffer, s string)

EncodeEscapedSQLIdent writes the identifier in s to buf. The identifier is always quoted. Double quotes inside the identifier are escaped.

func EncodeLocaleName

func EncodeLocaleName(buf *bytes.Buffer, s string)

EncodeLocaleName writes the locale identifier in s to buf. Any dash characters are mapped to underscore characters. Underscore characters do not need to be quoted, and they are considered equivalent to dash characters by the CLDR standard: http://cldr.unicode.org/.

func EncodeRestrictedSQLIdent

func EncodeRestrictedSQLIdent(buf *bytes.Buffer, s string, flags EncodeFlags)

EncodeRestrictedSQLIdent 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.

func EncodeSQLBytes

func EncodeSQLBytes(buf *bytes.Buffer, in string)

EncodeSQLBytes 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.

func EncodeSQLString

func EncodeSQLString(buf *bytes.Buffer, in string)

EncodeSQLString writes a string literal to buf. All unicode and non-printable characters are escaped.

func EncodeSQLStringWithFlags

func EncodeSQLStringWithFlags(buf *bytes.Buffer, in string, flags EncodeFlags)

EncodeSQLStringWithFlags 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.

func EncodeUnrestrictedSQLIdent

func EncodeUnrestrictedSQLIdent(buf *bytes.Buffer, s string, flags EncodeFlags)

EncodeUnrestrictedSQLIdent 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.

func EscapeSQLString

func EscapeSQLString(in string) string

EscapeSQLString returns an escaped SQL representation of the given string. This is suitable for safely producing a SQL string valid for input to the parser.

func GetKeywordID added in v0.57.3

func GetKeywordID(k string) int32

GetKeywordID returns the lex id of the SQL keyword k or IDENT if k is not a keyword.

func IsDigit

func IsDigit(ch int) bool

IsDigit returns true if the character is between 0 and 9.

func IsHexDigit

func IsHexDigit(ch int) bool

IsHexDigit returns true if the character is a valid hexadecimal digit.

func IsIdentMiddle

func IsIdentMiddle(ch int) bool

IsIdentMiddle returns true if the character is valid inside an identifier.

func IsIdentStart

func IsIdentStart(ch int) bool

IsIdentStart returns true if the character is valid at the start of an identifier.

func NormalizeName

func NormalizeName(n string) string

NormalizeName normalizes to lowercase and Unicode Normalization Form C (NFC).

Types

type BytesEncodeFormat

type BytesEncodeFormat int

BytesEncodeFormat controls which format to use for BYTES->STRING conversions.

const (
	// BytesEncodeHex uses the hex format: e'abc\n'::BYTES::STRING -> '\x61626312'.
	// This is the default, for compatibility with PostgreSQL.
	BytesEncodeHex BytesEncodeFormat = iota
	// BytesEncodeEscape uses the escaped format: e'abc\n'::BYTES::STRING -> 'abc\012'.
	BytesEncodeEscape
	// BytesEncodeBase64 uses base64 encoding.
	BytesEncodeBase64
)

func BytesEncodeFormatFromString

func BytesEncodeFormatFromString(val string) (_ BytesEncodeFormat, ok bool)

BytesEncodeFormatFromString converts a string into a BytesEncodeFormat.

func (BytesEncodeFormat) String

func (f BytesEncodeFormat) String() string

type EncodeFlags

type EncodeFlags int

EncodeFlags influence the formatting of strings and identifiers.

const (
	// EncNoFlags indicates nothing special should happen while encoding.
	EncNoFlags EncodeFlags = 0

	// EncBareStrings indicates that strings will be rendered without
	// wrapping quotes if they contain no special characters.
	EncBareStrings EncodeFlags = 1 << iota

	// EncBareIdentifiers indicates that identifiers will be rendered
	// without wrapping quotes.
	EncBareIdentifiers

	// EncFirstFreeFlagBit needs to remain unused; it is used as base
	// bit offset for tree.FmtFlags.
	EncFirstFreeFlagBit
)

func (EncodeFlags) HasFlags

func (f EncodeFlags) HasFlags(subset EncodeFlags) bool

HasFlags tests whether the given flags are set.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL