diff --git a/src/hooks/utility/prepare.rs b/src/hooks/utility/prepare.rs index 838cc049..22d8d1f3 100644 --- a/src/hooks/utility/prepare.rs +++ b/src/hooks/utility/prepare.rs @@ -66,7 +66,7 @@ pub fn prepare_query( null_mut() }; - #[cfg(not(feature = "pg13"))] + #[cfg(any(feature = "pg15", feature = "pg16", feature = "pg17"))] { pg_sys::parse_analyze_varparams( &mut raw_stmt, @@ -76,7 +76,7 @@ pub fn prepare_query( null_mut(), ) } - #[cfg(feature = "pg13")] + #[cfg(any(feature = "pg13", feature = "pg14"))] { pg_sys::parse_analyze_varparams( &mut raw_stmt,