About

Metadata

  • Last updated , by DavidJohnson
  • License BSD-3-Clause
  • Categories Databases
  • Maintained by: Nicolas Wu <nicolas.wu@gmail.com>

  • Lottery factor: 0

Links

Installation

This package uses the Custom cabal build type

Package Flags

Use the -f option with cabal commands to enable flags

    splitbase (on by default)

    Choose the new smaller, split-up package.

    buildtests (off by default)

    Build the executable to run unit tests

    mintime15 (on by default)

    Use time 1.5 or higher.

Readme

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.