-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | HaskellDB support for the HDBC PostgreSQL driver. -- -- HaskellDB support for the HDBC PostgreSQL driver. @package haskelldb-hdbc-postgresql @version 0.13 module Database.HaskellDB.HDBC.PostgreSQL postgresqlConnect :: (MonadIO m) => [(String, String)] -> (Database -> m a) -> m a -- | Interface which drivers should implement. The connect function -- takes some driver specific name, value pairs use to setup the database -- connection, and a database action to run. requiredOptions lists -- all required options with a short description, that is printed as help -- in the DBDirect program. data DriverInterface :: * DriverInterface :: (forall m :: (* -> *) a. (MonadIO m) => [(String, String)] -> (Database -> m a) -> m a) -> [(String, String)] -> DriverInterface connect :: DriverInterface -> forall m :: (* -> *) a. (MonadIO m) => [(String, String)] -> (Database -> m a) -> m a requiredOptions :: DriverInterface -> [(String, String)] -- | This driver passes its options through to HDBC. HDBC refers to -- http://www.postgresql.org/docs/8.1/static/libpq.html#LIBPQ-CONNECT -- for the meaning of the options. driver :: DriverInterface