This commit is contained in:
Mike Nelson 2024-08-28 11:46:35 -06:00
parent 52df659318
commit cf08bcd6f7

View file

@ -67,7 +67,7 @@ select
attr.atthasdef as "column.hasDefault", attr.atthasdef as "column.hasDefault",
(case (case
when tp.typtype = 'b' AND tp.typcategory <> 'A' then 'base' when tp.typtype = 'b' AND tp.typcategory <> 'A' then 'base'
when tp.typtype = 'b' AND tp.typcategory = 'A' then 'array' when tp.typtype = 'b' AND tp.typcategory = 'A' then 'array'
when tp.typtype = 'd' then 'base' when tp.typtype = 'd' then 'base'
when tp.typtype = 'e' then 'enum' when tp.typtype = 'e' then 'enum'
when tp.typtype = 'r' then 'range' when tp.typtype = 'r' then 'range'