Skip to content

Commit b638d0e

Browse files
committed
Fix fallback typeinfo query
1 parent d5f1bdb commit b638d0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@ impl InnerConnection {
496496

497497
match self.raw_prepare(TYPEINFO_QUERY,
498498
"SELECT t.typname, t.typtype, t.typelem, NULL::OID, t.typbasetype, \
499-
n.nspname \
499+
n.nspname, t.typrelid \
500500
FROM pg_catalog.pg_type t \
501501
INNER JOIN pg_catalog.pg_namespace n \
502502
ON t.typnamespace = n.oid \

0 commit comments

Comments
 (0)