Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Small changes to make Amelie happy #5

Merged
merged 1 commit into from

2 participants

@tsuraan

Amelie expects to find newPool and withPoolConnection in Simple. I'm not sure if it would be more appropriate to patch Amelie or pgsql-simple, but this is what worked for me.

@chrisdone chrisdone merged commit c6e5ee5 into chrisdone:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 30, 2011
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 0 deletions.
  1. +3 −0  Database/PostgreSQL/Simple.hs
View
3  Database/PostgreSQL/Simple.hs
@@ -82,6 +82,8 @@ module Database.PostgreSQL.Simple
-- * Helper functions
, formatMany
, formatQuery
+ , withPoolConnection
+ , newPool
) where
import Blaze.ByteString.Builder (Builder, fromByteString, toByteString)
@@ -94,6 +96,7 @@ import Data.List (intersperse)
import Data.Monoid (mappend, mconcat)
import Data.Typeable (Typeable)
import Database.PostgreSQL.Base.Types (ConnectInfo(..),Connection(..),Pool)
+import Database.PostgreSQL.Base (withPoolConnection, newPool)
import Database.PostgreSQL.Simple.Param (Action(..), inQuotes)
import Database.PostgreSQL.Simple.QueryParams (QueryParams(..))
import Database.PostgreSQL.Simple.QueryResults (QueryResults(..))
Something went wrong with that request. Please try again.