BSD3 licensed by John Goerzen
Maintained by Nicolas Wu

Module documentation for 2.3.2.4

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"

DIFFERENCES FROM HDBC STANDARD
------------------------------

None known at this time.

Changes

Changelog

2.3.2.4

  • Compatibility with time 1.6, base 4.9, and Cabal 1.24 (GHC 8).

2.3.2.3

  • Compatibility with time 1.5.
  • Fix test compilation.
  • Fix warnings.
comments powered byDisqus