BSD-3-Clause licensed by John Goerzen
Maintained by Nicolas Wu
This version can be pinned in stack with:HDBC-postgresql-2.3.2.4@sha256:fef41a82ac338f3813512aaea30126e0b40e9ce419d632fa2d734b88ff75b15d,3136

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.