diff --git a/sqlx-core/src/postgres/types/bit_vec.rs b/sqlx-core/src/postgres/types/bit_vec.rs index 68809e9d..c5109b91 100644 --- a/sqlx-core/src/postgres/types/bit_vec.rs +++ b/sqlx-core/src/postgres/types/bit_vec.rs @@ -33,6 +33,10 @@ impl Type for Vec { fn type_info() -> PgTypeInfo { <[BitVec] as Type>::type_info() } + + fn compatible(ty: &PgTypeInfo) -> bool { + <[BitVec] as Type>::compatible(ty) + } } impl Encode<'_, Postgres> for BitVec {