mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-19 16:44:07 +00:00
Make postgres type name resolution case-insensitive
This commit is contained in:
committed by
Ryan Leckey
parent
466b6d6bed
commit
0e61642165
@@ -262,7 +262,7 @@ impl PgConnection {
|
||||
// language=SQL
|
||||
let (oid,): (u32,) = query_as(
|
||||
"
|
||||
SElECT oid FROM pg_catalog.pg_type WHERE typname = $1
|
||||
SELECT oid FROM pg_catalog.pg_type WHERE typname ILIKE $1
|
||||
",
|
||||
)
|
||||
.bind(name)
|
||||
|
||||
Reference in New Issue
Block a user