diff --git a/CHANGELOG.md b/CHANGELOG.md
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
 # Changelog
 
+### 2.3.2.8
+
+* Compatiblity with Cabal 3.2
+
 ### 2.3.2.7
 
 * Compatibility with time 1.9 & GHC 8.8
diff --git a/HDBC-postgresql.cabal b/HDBC-postgresql.cabal
--- a/HDBC-postgresql.cabal
+++ b/HDBC-postgresql.cabal
@@ -1,5 +1,5 @@
 Name: HDBC-postgresql
-Version: 2.3.2.7
+Version: 2.3.2.8
 License: BSD3
 Maintainer: Nicolas Wu <nicolas.wu@gmail.com>
 Author: John Goerzen
@@ -18,10 +18,10 @@
 Stability: Stable
 
 Build-Type: Custom
-Cabal-Version: >=1.8
+Cabal-Version: >=1.10
 
 custom-setup
-  setup-depends: Cabal >= 1.8 && < 3.1, base < 5
+  setup-depends: Cabal >= 1.8 && < 3.3, base < 5
 
 Flag splitBase
   description: Choose the new smaller, split-up package.
@@ -42,7 +42,6 @@
     Database.HDBC.PostgreSQL.Parser,
     Database.HDBC.PostgreSQL.PTypeConv,
     Database.HDBC.PostgreSQL.ErrorCodes
-  Extensions: ExistentialQuantification, ForeignFunctionInterface
   Build-Depends: base >= 3 && < 5, mtl, HDBC>=2.2.0, parsec, utf8-string,
                  bytestring, old-time, convertible
   if flag(minTime15)
@@ -56,6 +55,7 @@
   C-Sources: hdbc-postgresql-helper.c
   Include-Dirs: .
   GHC-Options: -O2 -Wall
+  Default-Language: Haskell2010
 
 Executable runtests
    if flag(buildtests)
@@ -91,8 +91,7 @@
    Extra-Libraries: pq
    Hs-Source-Dirs: ., testsrc
    GHC-Options: -O2
-   Extensions: ExistentialQuantification,
-               ForeignFunctionInterface
+   Default-Language: Haskell2010
 
 source-repository head
   type:     git
