mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-12-29 21:00:54 +00:00
Make postgres type name resolution case-insensitive
This commit is contained in:
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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user