diff --git a/lib/index.js b/lib/index.js index 6878276b..c9530f0c 100644 --- a/lib/index.js +++ b/lib/index.js @@ -245,7 +245,7 @@ function Postgres(a, b) { select b.oid, b.typarray from pg_catalog.pg_type a left join pg_catalog.pg_type b on b.oid = a.typelem - where a.typcategory = 'A' and b.typcategory != 'C' + where a.typcategory = 'A' group by b.oid, b.typarray order by b.oid `)