lib/torque/postgresql/adapter/database_statements.rb in torque-postgresql-0.1.0 vs lib/torque/postgresql/adapter/database_statements.rb in torque-postgresql-0.1.1
- old
+ new
@@ -44,10 +44,10 @@
t.typdelim, t.typbasetype, t.typtype
FROM pg_type t
INNER JOIN pg_type a ON (a.oid = t.typarray)
LEFT JOIN pg_catalog.pg_namespace n ON n.oid = t.typnamespace
WHERE n.nspname NOT IN ('pg_catalog', 'information_schema')
- AND t.typtype IN ( 'c','e' )
+ AND t.typtype IN ( 'e' )
#{filter}
AND NOT EXISTS(
SELECT 1 FROM pg_catalog.pg_type el
WHERE el.oid = t.typelem AND el.typarray = t.oid
)