fix a few issues around pg14 support
@@ -874,7 +874,7 @@ pub fn interrupt_pending() -> bool {
}
/// Is an interrupt pending?
-#[cfg(any(feature = "pg12", feature = "pg13"))]
+#[cfg(any(feature = "pg12", feature = "pg13", feature = "pg14"))]
#[inline]
pub fn interrupt_pending() -> bool {
unsafe { crate::pg_sys::InterruptPending != 0 }
@@ -893,7 +893,7 @@ macro_rules! check_for_interrupts {
}
}
- #[cfg(feature = "pg12")]
+ #[cfg(any(feature = "pg12", feature = "pg13", feature = "pg14"))]
#[allow(unused_unsafe)]
unsafe {
if $crate::pg_sys::InterruptPending != 0 {
