We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 402022d commit 7cf0c00Copy full SHA for 7cf0c00
sqlx-postgres/src/any.rs
@@ -182,6 +182,7 @@ impl<'a> TryFrom<&'a PgTypeInfo> for AnyTypeInfo {
182
fn try_from(pg_type: &'a PgTypeInfo) -> Result<Self, Self::Error> {
183
Ok(AnyTypeInfo {
184
kind: match &pg_type.0 {
185
+ PgType::Bool => AnyTypeInfoKind::Bool,
186
PgType::Void => AnyTypeInfoKind::Null,
187
PgType::Int2 => AnyTypeInfoKind::SmallInt,
188
PgType::Int4 => AnyTypeInfoKind::Integer,
0 commit comments