Fix fallback typeinfo query

This commit is contained in:
Steven Fackler 2016-02-17 11:26:43 -08:00
parent d5f1bdba4a
commit b638d0e051

View File

@ -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 \