mirror of https://github.com/jackc/pgx.git
Load user-defined array type oids.
parent
6aec98dc6f
commit
7829081b8c
2
conn.go
2
conn.go
|
@ -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')
|
||||
)`
|
||||
)
|
||||
|
|
|
@ -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')
|
||||
)`,
|
||||
}),
|
||||
|
|
Loading…
Reference in New Issue