diff --git a/postgresql-simple-interval.cabal b/postgresql-simple-interval.cabal
--- a/postgresql-simple-interval.cabal
+++ b/postgresql-simple-interval.cabal
@@ -1,6 +1,6 @@
 cabal-version: 3.0
 name: postgresql-simple-interval
-version: 1.0.1.2
+version: 1.0.1.3
 synopsis: A simple interval type for PostgreSQL.
 description:
   This library provides a simple interval type for PostgreSQL. It supports
@@ -25,10 +25,10 @@
 common library
   build-depends:
     attoparsec ^>=0.14.4,
-    base >=4.13 && <4.23,
-    bytestring >=0.10.10 && <0.13,
+    base >=4.18 && <4.23,
+    bytestring >=0.11.4 && <0.13,
     postgresql-simple ^>=0.7,
-    time >=1.9.3 && <1.16,
+    time >=1.12.2 && <1.17,
 
   default-language: Haskell2010
   ghc-options:
@@ -37,18 +37,12 @@
     -Wno-implicit-prelude
     -Wno-missing-deriving-strategies
     -Wno-missing-export-lists
+    -Wno-missing-kind-signatures
+    -Wno-missing-safe-haskell-mode
+    -Wno-prepositive-qualified-module
     -Wno-safe
     -Wno-unsafe
 
-  if impl(ghc >=8.10)
-    ghc-options:
-      -Wno-missing-safe-haskell-mode
-      -Wno-prepositive-qualified-module
-
-  if impl(ghc >=9.2)
-    ghc-options:
-      -Wno-missing-kind-signatures
-
   if flag(pedantic)
     ghc-options: -Werror
 
@@ -64,8 +58,8 @@
   build-depends:
     persistent >=2.17 && <2.19,
     scientific ^>=0.3.8,
-    template-haskell >=2.15 && <2.25,
-    text >=1.2.4 && <1.3 || >=2.0 && <2.2,
+    template-haskell >=2.20 && <2.25,
+    text >=2.0.2 && <2.2,
 
   -- cabal-gild: discover source/library
   exposed-modules:
@@ -77,8 +71,7 @@
 test-suite postgresql-simple-interval-test-suite
   import: executable
   build-depends:
-    hspec ^>=2.11.12,
-    postgresql-libpq ^>=0.11,
+    hspec ^>=2.11.12
 
   hs-source-dirs: source/test-suite
   main-is: Main.hs
diff --git a/source/test-suite/Main.hs b/source/test-suite/Main.hs
--- a/source/test-suite/Main.hs
+++ b/source/test-suite/Main.hs
@@ -3,7 +3,6 @@
 {-# LANGUAGE OverloadedStrings #-}
 {-# LANGUAGE TypeApplications #-}
 
-import qualified Control.Exception as Exception
 import qualified Control.Monad as Monad
 import qualified Data.Attoparsec.ByteString.Char8 as Attoparsec
 import qualified Data.ByteString as ByteString
@@ -12,9 +11,7 @@
 import qualified Data.Int as Int
 import qualified Data.Proxy as Proxy
 import qualified Data.Time as Time
-import qualified Database.PostgreSQL.LibPQ as Pq
 import qualified Database.PostgreSQL.Simple as Postgres
-import qualified Database.PostgreSQL.Simple.Internal as Postgres
 import qualified Database.PostgreSQL.Simple.Interval.Unstable as I
 import qualified Database.PostgreSQL.Simple.ToField as Postgres
 import qualified Test.Hspec as H
@@ -457,16 +454,10 @@
           H.it ("round trips " <> show (field example)) $ do
             Postgres.withConnect Postgres.defaultConnectInfo $ \connection -> do
               let interval = exampleInterval example
-              result <- Exception.try . Postgres.withTransaction connection $ do
+              actual <- Postgres.withTransaction connection $ do
                 Monad.void $ Postgres.execute connection "set local intervalstyle = ?" [style]
                 Postgres.query connection "select ?" [interval]
-              case result of
-                Right actual -> actual `H.shouldBe` [Postgres.Only interval]
-                Left somePostgresqlException -> do
-                  version <- Postgres.withConnection connection Pq.serverVersion
-                  if version < 150000
-                    then H.pendingWith $ "interval parsing broken with PostgreSQL version " <> show version
-                    else Exception.throwIO (somePostgresqlException :: Postgres.SomePostgreSqlException)
+              actual `H.shouldBe` [Postgres.Only interval]
 
 data IntervalStyle
   = Iso8601
