diff --git a/sqlx-macros/src/database/postgres.rs b/sqlx-macros/src/database/postgres.rs index 0f5d59010d..2ffde06a9b 100644 --- a/sqlx-macros/src/database/postgres.rs +++ b/sqlx-macros/src/database/postgres.rs @@ -117,6 +117,9 @@ impl_database_ext! { #[cfg(feature = "bigdecimal")] Vec | &[sqlx::types::BigDecimal], + #[cfg(feature = "decimal")] + Vec | &[sqlx::types::Decimal], + #[cfg(feature = "ipnetwork")] Vec | &[sqlx::types::ipnetwork::IpNetwork], @@ -134,6 +137,9 @@ impl_database_ext! { #[cfg(feature = "bigdecimal")] sqlx::postgres::types::PgRange, + #[cfg(feature = "decimal")] + sqlx::postgres::types::PgRange, + #[cfg(feature = "chrono")] sqlx::postgres::types::PgRange, @@ -162,6 +168,10 @@ impl_database_ext! { Vec> | &[sqlx::postgres::types::PgRange], + #[cfg(feature = "decimal")] + Vec> | + &[sqlx::postgres::types::PgRange], + #[cfg(feature = "chrono")] Vec> | &[sqlx::postgres::types::PgRange],