diff --git a/sqlx-core/src/postgres/executor.rs b/sqlx-core/src/postgres/executor.rs index 61fe4ba8..43c24707 100644 --- a/sqlx-core/src/postgres/executor.rs +++ b/sqlx-core/src/postgres/executor.rs @@ -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)