We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b29eab0 commit bbfd0d7Copy full SHA for bbfd0d7
sqlx-postgres/src/any.rs
@@ -178,7 +178,7 @@ impl<'a> TryFrom<&'a PgTypeInfo> for AnyTypeInfo {
178
PgType::Float4 => AnyTypeInfoKind::Real,
179
PgType::Float8 => AnyTypeInfoKind::Double,
180
PgType::Bytea => AnyTypeInfoKind::Blob,
181
- PgType::Text => AnyTypeInfoKind::Text,
+ PgType::Text | PgType::Varchar => AnyTypeInfoKind::Text,
182
PgType::DeclareWithName(UStr::Static("citext")) => AnyTypeInfoKind::Text,
183
_ => {
184
return Err(sqlx_core::Error::AnyDriverError(
0 commit comments