diff --git a/hasql-optparse-applicative.cabal b/hasql-optparse-applicative.cabal
--- a/hasql-optparse-applicative.cabal
+++ b/hasql-optparse-applicative.cabal
@@ -1,6 +1,6 @@
 cabal-version: 3.0
 name:          hasql-optparse-applicative
-version:       0.7
+version:       0.7.1
 synopsis:      "optparse-applicative" parsers for "hasql"
 category:      Hasql, Database, PostgreSQL, Options
 homepage:      https://github.com/sannsyn/hasql-optparse-applicative 
@@ -65,5 +65,5 @@
     , attoparsec-time >=1.0.3 && <1.1
     , base >=4.11 && <5
     , hasql >=1.6 && <1.7
-    , hasql-pool >=0.9 && <0.10
+    , hasql-pool >=0.10 && <0.11
     , optparse-applicative >=0.17 && <0.18
diff --git a/library/Hasql/OptparseApplicative.hs b/library/Hasql/OptparseApplicative.hs
--- a/library/Hasql/OptparseApplicative.hs
+++ b/library/Hasql/OptparseApplicative.hs
@@ -22,6 +22,7 @@
     <$> size
     <*> acquisitionTimeout
     <*> connectionLifetime
+    <*> connectionIdleTime
     <*> connectionSettings updatedName
   where
     size =
@@ -44,6 +45,13 @@
           value (fromIntegral (24 * 60 * 60)),
           showDefault,
           help "Maximal lifetime for connections. Allows to periodically clean up the connection resources to avoid server-side leaks"
+        ]
+    connectionIdleTime =
+      attoparsedOption C.diffTime . mconcat $
+        [ long (updatedName "pool-connection-idle-time"),
+          value (fromIntegral (5 * 60)),
+          showDefault,
+          help "Maximal connection idle time"
         ]
 
 -- | Given a function, which updates the long names produces a parser
