Fix fallback typeinfo query
This commit is contained in:
parent
d5f1bdba4a
commit
b638d0e051
@ -496,7 +496,7 @@ impl InnerConnection {
|
|||||||
|
|
||||||
match self.raw_prepare(TYPEINFO_QUERY,
|
match self.raw_prepare(TYPEINFO_QUERY,
|
||||||
"SELECT t.typname, t.typtype, t.typelem, NULL::OID, t.typbasetype, \
|
"SELECT t.typname, t.typtype, t.typelem, NULL::OID, t.typbasetype, \
|
||||||
n.nspname \
|
n.nspname, t.typrelid \
|
||||||
FROM pg_catalog.pg_type t \
|
FROM pg_catalog.pg_type t \
|
||||||
INNER JOIN pg_catalog.pg_namespace n \
|
INNER JOIN pg_catalog.pg_namespace n \
|
||||||
ON t.typnamespace = n.oid \
|
ON t.typnamespace = n.oid \
|
||||||
|
Loading…
Reference in New Issue
Block a user