diff --git a/postgresql-simple.cabal b/postgresql-simple.cabal
--- a/postgresql-simple.cabal
+++ b/postgresql-simple.cabal
@@ -1,5 +1,5 @@
 Name:                postgresql-simple
-Version:             0.3.3.1
+Version:             0.3.3.2
 Synopsis:            Mid-Level PostgreSQL client library
 Description:
     Mid-Level PostgreSQL client library, forked from mysql-simple.
@@ -75,7 +75,7 @@
 source-repository this
   type:     git
   location: http://github.com/lpsmith/postgresql-simple
-  tag:      v0.3.3.1
+  tag:      v0.3.3.2
 
 test-suite test
   type:           exitcode-stdio-1.0
diff --git a/src/Database/PostgreSQL/Simple/HStore/Implementation.hs b/src/Database/PostgreSQL/Simple/HStore/Implementation.hs
--- a/src/Database/PostgreSQL/Simple/HStore/Implementation.hs
+++ b/src/Database/PostgreSQL/Simple/HStore/Implementation.hs
@@ -143,7 +143,7 @@
 newtype HStoreMap  = HStoreMap (Map Text Text) deriving (Eq, Ord, Typeable, Show)
 
 instance ToHStore HStoreMap where
-    toHStore (HStoreMap xs) = Map.foldWithKey f mempty xs
+    toHStore (HStoreMap xs) = Map.foldrWithKey f mempty xs
       where f k v xs = hstore k v `mappend` xs
 
 instance ToField HStoreMap where
diff --git a/src/Database/PostgreSQL/Simple/Internal.hs b/src/Database/PostgreSQL/Simple/Internal.hs
--- a/src/Database/PostgreSQL/Simple/Internal.hs
+++ b/src/Database/PostgreSQL/Simple/Internal.hs
@@ -22,8 +22,6 @@
 
 module Database.PostgreSQL.Simple.Internal where
 
-import Prelude hiding (catch)
-
 import           Control.Applicative
 import           Control.Exception
 import           Control.Concurrent.MVar
diff --git a/src/Database/PostgreSQL/Simple/Notification.hs b/src/Database/PostgreSQL/Simple/Notification.hs
--- a/src/Database/PostgreSQL/Simple/Notification.hs
+++ b/src/Database/PostgreSQL/Simple/Notification.hs
@@ -18,10 +18,10 @@
 --
 -- Note that on Windows,  @getNotification@ currently uses a polling loop
 -- of 1 second to check for more notifications,  due to some inadequacies
--- in GHC's IO implementation and interface on that platform.   See GHC 
+-- in GHC's IO implementation and interface on that platform.   See GHC
 -- issue #7353 for more information.  While this workaround is less than
 -- ideal,  notifications are still better than polling the database directly.
--- Notifications do not create any extra work for the backend,  and are 
+-- Notifications do not create any extra work for the backend,  and are
 -- likely cheaper on the client side as well.
 --
 -- <http://hackage.haskell.org/trac/ghc/ticket/7353>
diff --git a/src/Database/PostgreSQL/Simple/Types.hs b/src/Database/PostgreSQL/Simple/Types.hs
--- a/src/Database/PostgreSQL/Simple/Types.hs
+++ b/src/Database/PostgreSQL/Simple/Types.hs
@@ -80,6 +80,7 @@
     mempty = Query B.empty
     mappend (Query a) (Query b) = Query (B.append a b)
     {-# INLINE mappend #-}
+    mconcat xs = Query (B.concat (map fromQuery xs))
 
 -- | A single-value \"collection\".
 --
