Skip to content

Commit 174e4fd

Browse files
author
Luís Leite
authored
Include custom types when fetching array types. (porsager#103)
Fixes issue porsager#94
1 parent b15861d commit 174e4fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ function Postgres(a, b) {
245245
select b.oid, b.typarray
246246
from pg_catalog.pg_type a
247247
left join pg_catalog.pg_type b on b.oid = a.typelem
248-
where a.typcategory = 'A' and b.typcategory != 'C'
248+
where a.typcategory = 'A'
249249
group by b.oid, b.typarray
250250
order by b.oid
251251
`)

0 commit comments

Comments
 (0)