diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,6 @@
+# log-postgres-0.7.1.1 (2019-05-23)
+* Support latest hpqtypes.
+
 # log-postgres-0.7.1.0 (2019-05-15)
 * Support latest aeson.
 
diff --git a/log-postgres.cabal b/log-postgres.cabal
--- a/log-postgres.cabal
+++ b/log-postgres.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.0
 name:                log-postgres
-version:             0.7.1.0
+version:             0.7.1.1
 synopsis:            Structured logging solution (PostgreSQL back end)
 
 description:         PostgreSQL back end for the 'log' library suite.
@@ -19,35 +19,38 @@
 build-type:          Simple
 extra-source-files:  CHANGELOG.md, README.md
 tested-with:         GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.4,
-                     GHC == 8.6.2
+                     GHC == 8.6.5
 
 Source-repository head
   Type:     git
   Location: https://github.com/scrive/log.git
 
 library
-  exposed-modules:     Log.Backend.PostgreSQL
-  build-depends:       base >= 4.8 && <5,
-                       log-base >= 0.7,
-                       aeson >=1.0 && < 1.4 || ^>= 1.4,
-                       aeson-pretty >=0.8.2,
-                       bytestring,
-                       base64-bytestring,
-                       deepseq,
-                       hpqtypes >=1.5,
-                       http-client,
-                       lifted-base,
-                       mtl,
-                       semigroups,
-                       split,
-                       text,
-                       text-show >= 2,
-                       time >= 1.5,
-                       unordered-containers,
-                       vector
-  hs-source-dirs:      src
+  exposed-modules:    Log.Backend.PostgreSQL
+  build-depends:      base                  >= 4.9  && < 4.12 || ^>= 4.12
+                    , log-base              >= 0.7  && < 0.8  || ^>= 0.8
+                    , aeson                 >= 1.0  && < 1.4  || ^>= 1.4
+                    , hpqtypes             ^>= 1.7
+                    , bytestring           ^>= 0.10
+                    , deepseq              ^>= 1.4
+                    , text                 ^>= 1.2
+                    , time                  >= 1.6  && < 1.9  || ^>= 1.9
+                    , unordered-containers ^>= 0.2
+                    , vector               ^>= 0.12
+                    , aeson-pretty         ^>= 0.8
+                    , base64-bytestring    ^>= 1.0
+                    , hpqtypes             ^>= 1.7
+                    , mtl                  ^>= 2.2
+                    , lifted-base          ^>= 0.2
+                    , semigroups            >= 0.16 && < 0.19 || ^>= 0.19
+                    , text-show             >= 3.7  && < 3.8  || ^>= 3.8
+                    , http-client           >= 0.5  && < 0.6  || ^>= 0.6
+                    , log-base              >= 0.7  && < 0.8  || ^>= 0.8
+                    , split                ^>= 0.2
 
-  ghc-options:         -O2 -Wall -funbox-strict-fields
+  hs-source-dirs:     src
+
+  ghc-options:        -O2 -Wall -funbox-strict-fields
 
   default-language:   Haskell2010
   default-extensions: BangPatterns
diff --git a/src/Log/Backend/PostgreSQL.hs b/src/Log/Backend/PostgreSQL.hs
--- a/src/Log/Backend/PostgreSQL.hs
+++ b/src/Log/Backend/PostgreSQL.hs
@@ -178,6 +178,6 @@
       ]
 
     ts :: TransactionSettings
-    ts = def {
+    ts = defaultTransactionSettings {
       tsAutoTransaction = False
     }
