HDBC-postgresql: PostgreSQL driver for HDBC

[ bsd3, database, library ] [ Propose Tags ]

This package provides a PostgreSQL driver for HDBC

[Skip to Readme]
Versions [faq],,,,,,,,,,,,,,,,,,
Dependencies base (>=3 && <4.5), bytestring, containers, convertible, HDBC (>=2.2.0), HUnit, mtl, old-locale, old-time, parsec, QuickCheck, testpack, time, utf8-string [details]
License BSD-3-Clause
Copyright Copyright (c) 2005-2011 John Goerzen
Author John Goerzen
Maintainer Nicolas Wu <nick@well-typed.com>
Revised Revision 1 made by AdamBergmark at Mon May 25 18:15:27 UTC 2015
Category Database
Home page http://software.complete.org/hdbc-postgresql
Uploaded by JohnGoerzen at Tue Aug 9 21:21:06 UTC 2011
Distributions Debian:, NixOS:
Executables runtests
Downloads 15422 total (316 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs uploaded by user
Build status unknown [no reports yet]





Choose the new smaller, split-up package.


Build the executable to run unit tests


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees

Readme for HDBC-postgresql-

[back to package description]
Welcome to HDBC, Haskell Database Connectivity.

This package provides a database backend driver for PostgreSQL.

Please see HDBC itself for documentation on use.

This package provides one function in module Database.HDBC.PostgreSQL:

{- | Connect to a PostgreSQL server.

See <http://www.postgresql.org/docs/8.1/static/libpq.html#LIBPQ-CONNECT> for the meaning
of the connection string. -}
connectPostgreSQL :: String -> IO Connection

An example would be:
dbh <- connectPostgreSQL "host=localhost dbname=testdb user=foo"


None known at this time.