Skip to content

Commit d7df75f

Browse files
committed
ts
1 parent 3f1a5a3 commit d7df75f

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

lib/builtins.d.ts

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ DO NOT EDIT THIS FILE BY HAND!
55
This file is generated automatically by the generator in generator/generate.js
66
To modify the types, edit the generator script and run: npm run generate
77
8-
Generated by querying PostgreSQL 11 to ensure comprehensive
8+
Generated by querying PostgreSQL 11, 14 to ensure comprehensive
99
type coverage for parsing.
1010
1111
Query used:
1212
SELECT json_object_agg(UPPER(PT.typname), PT.oid::int4 ORDER BY pt.oid)
1313
FROM pg_type PT
1414
WHERE typnamespace = (SELECT pgn.oid FROM pg_namespace pgn WHERE nspname = 'pg_catalog') -- Take only builting Postgres types with stable OID (extension types are not guaranted to be stable)
15-
AND typtype = 'b' -- Only basic types
15+
AND typtype IN ('b', 'r', 'm') -- Only basic (b), range (r), and multirange (m) types
1616
AND typelem = 0 -- Ignore aliases
1717
AND typisdefined -- Ignore undefined types
1818
*/
@@ -76,6 +76,25 @@ export enum builtins {
7676
REGCONFIG = 3734,
7777
REGDICTIONARY = 3769,
7878
JSONB = 3802,
79+
INT4RANGE = 3904,
80+
NUMRANGE = 3906,
81+
TSRANGE = 3908,
82+
TSTZRANGE = 3910,
83+
DATERANGE = 3912,
84+
INT8RANGE = 3926,
85+
JSONPATH = 4072,
7986
REGNAMESPACE = 4089,
80-
REGROLE = 4096
87+
REGROLE = 4096,
88+
REGCOLLATION = 4191,
89+
INT4MULTIRANGE = 4451,
90+
NUMMULTIRANGE = 4532,
91+
TSMULTIRANGE = 4533,
92+
TSTZMULTIRANGE = 4534,
93+
DATEMULTIRANGE = 4535,
94+
INT8MULTIRANGE = 4536,
95+
PG_BRIN_BLOOM_SUMMARY = 4600,
96+
PG_BRIN_MINMAX_MULTI_SUMMARY = 4601,
97+
PG_MCV_LIST = 5017,
98+
PG_SNAPSHOT = 5038,
99+
XID8 = 5069
81100
}

0 commit comments

Comments
 (0)