persistent-postgresql-0.2.2: Backend for the persistent library using postgresql.

Database.Persist.Postgresql

Description

A postgresql backend for persistent.

Documentation

withPostgresqlPoolSource

Arguments

:: MonadCatchIO m 
=> String 
-> Int

number of connections to open

-> (ConnectionPool -> m a) 
-> m a 

withPostgresqlPoolF :: MonadIO m => (m a -> m () -> m a) -> String -> Int -> (Pool Connection -> m a) -> m aSource