Load user-defined array type oids.
This commit is contained in:
@@ -615,7 +615,7 @@ left join pg_namespace nsp on t.typnamespace=nsp.oid
|
|||||||
left join pg_class cls on t.typrelid=cls.oid
|
left join pg_class cls on t.typrelid=cls.oid
|
||||||
where (
|
where (
|
||||||
t.typtype in('b', 'p', 'r', 'e', 'c')
|
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')
|
and (cls.oid is null or cls.relkind='c')
|
||||||
)`
|
)`
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -214,7 +214,7 @@ left join pg_namespace nsp on t.typnamespace=nsp.oid
|
|||||||
left join pg_class cls on t.typrelid=cls.oid
|
left join pg_class cls on t.typrelid=cls.oid
|
||||||
where (
|
where (
|
||||||
t.typtype in('b', 'p', 'r', 'e', 'c')
|
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')
|
and (cls.oid is null or cls.relkind='c')
|
||||||
)`,
|
)`,
|
||||||
}),
|
}),
|
||||||
|
|||||||
Reference in New Issue
Block a user