Load user-defined array type oids.

pull/581/head
Dmitriy Garanzha 2019-08-16 13:22:16 +03:00
parent 6aec98dc6f
commit 7829081b8c
2 changed files with 2 additions and 2 deletions

View File

@ -615,7 +615,7 @@ left join pg_namespace nsp on t.typnamespace=nsp.oid
left join pg_class cls on t.typrelid=cls.oid
where (
t.typtype in('b', 'p', 'r', 'e', 'c')
and (base_type.oid is null or base_type.typtype in('b', 'p', 'r'))
and (base_type.oid is null or base_type.typtype in('b', 'p', 'r', 'c'))
and (cls.oid is null or cls.relkind='c')
)`
)

View File

@ -214,7 +214,7 @@ left join pg_namespace nsp on t.typnamespace=nsp.oid
left join pg_class cls on t.typrelid=cls.oid
where (
t.typtype in('b', 'p', 'r', 'e', 'c')
and (base_type.oid is null or base_type.typtype in('b', 'p', 'r'))
and (base_type.oid is null or base_type.typtype in('b', 'p', 'r', 'c'))
and (cls.oid is null or cls.relkind='c')
)`,
}),