Skip to content

Commit

Permalink
Include custom types when fetching array types. (#103)
Browse files Browse the repository at this point in the history
Fixes issue #94
  • Loading branch information
Luís Leite authored Jun 25, 2021
1 parent b15861d commit 174e4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
`)
Expand Down

0 comments on commit 174e4fd

Please sign in to comment.