# Use tools/update_oids.py to update this data.
for t in [
+ TypeInfo('"char"', 18, 1002),
# autogenerated: start
# Generated from PostgreSQL 14.0
TypeInfo("aclitem", 1033, 1034),
TypeInfo("box", 603, 1020, delimiter=";"),
TypeInfo("bpchar", 1042, 1014, alt_name="character"),
TypeInfo("bytea", 17, 1001),
- TypeInfo("char", 18, 1002, alt_name='"char"'),
TypeInfo("cid", 29, 1012),
TypeInfo("cidr", 650, 651),
TypeInfo("circle", 718, 719),
# Note: "record" is a pseudotype but still a useful one to have.
# "pg_lsn" is a documented public type and useful in streaming replication
+# treat "char" (with quotes) separately.
py_types_sql = """
select
'TypeInfo('
from pg_type t
where
oid < 10000
+ and oid != '"char"'::regtype
and (typtype = 'b' or typname = 'record')
and (typname !~ '^(_|pg_)' or typname = 'pg_lsn')
order by typname