diff --git a/persistable-types-HDBC-pg.cabal b/persistable-types-HDBC-pg.cabal
--- a/persistable-types-HDBC-pg.cabal
+++ b/persistable-types-HDBC-pg.cabal
@@ -1,5 +1,5 @@
 name:                persistable-types-HDBC-pg
-version:             0.0.2.1
+version:             0.0.3.0
 synopsis:            HDBC and Relational-Record instances of PostgreSQL extended types
 description:         This package contains HDBC Convertible instances and
                      Relational-Record persistable instances of PostgreSQL extended types
@@ -39,19 +39,17 @@
                      , convertible
                      , HDBC
                      , persistable-record >= 0.4
-                     , relational-query
+                     , relational-query >= 0.10
                      , relational-query-HDBC
   hs-source-dirs:      src
   default-language:    Haskell2010
 
 test-suite test
   build-depends:         base <5
-                       , relational-query
+                       , relational-query >= 0.10
                        , relational-query-HDBC
                        , text-postgresql
                        , persistable-types-HDBC-pg
-  if impl(ghc == 7.4.*)
-    build-depends:       ghc-prim == 0.2.*
 
   type:                exitcode-stdio-1.0
   main-is:             runTest.hs
diff --git a/src/Database/HDBC/PostgreSQL/Instances.hs b/src/Database/HDBC/PostgreSQL/Instances.hs
--- a/src/Database/HDBC/PostgreSQL/Instances.hs
+++ b/src/Database/HDBC/PostgreSQL/Instances.hs
@@ -24,7 +24,7 @@
 import Data.PostgreSQL.NetworkAddress (NetAddress, Inet (..), Cidr (..))
 import Database.HDBC (SqlValue (..))
 import Database.HDBC.Record.Persistable ()
-import Database.Relational.Query (ShowConstantTermsSQL (..))
+import Database.Relational (ShowConstantTermsSQL (..))
 import Database.PostgreSQL.Parser (evalParser)
 import qualified Database.PostgreSQL.Parser as Parser
 import Database.PostgreSQL.Printer (execPrinter)
diff --git a/test/runTest.hs b/test/runTest.hs
--- a/test/runTest.hs
+++ b/test/runTest.hs
@@ -2,7 +2,6 @@
 {-# LANGUAGE TemplateHaskell #-}
 {-# LANGUAGE MultiParamTypeClasses #-}
 {-# LANGUAGE FlexibleInstances #-}
-{-# LANGUAGE DataKinds #-}
 {-# LANGUAGE DeriveGeneric #-}
 
 import GHC.Generics (Generic)
@@ -12,7 +11,7 @@
 import Data.PostgreSQL.NetworkAddress
   (Inet (..), Cidr (..), NetAddress (..),
    V4HostAddress (..), V6HostAddress (..))
-import Database.Relational.Query (Relation, relation, value)
+import Database.Relational (Relation, relation, value)
 
 import Database.HDBC.PostgreSQL.Persistable ()
 
