The HDBC-postgresql package

[Tags:bsd3, library]

This package provides a PostgreSQL driver for HDBC


[Skip to Readme]

Properties

Versions 1.0.1.0, 1.1.3.0, 1.1.4.0, 1.1.6.0, 2.0.0.0, 2.1.0.0, 2.2.0.0, 2.2.3.0, 2.2.3.1, 2.2.3.2, 2.2.3.3, 2.3.2.0, 2.3.2.1, 2.3.2.2, 2.3.2.3, 2.3.2.4
Change log CHANGELOG.md
Dependencies base (>=3 && <5), bytestring, containers, convertible, HDBC (>=2.2.0), HUnit, mtl, old-locale, old-time, parsec, QuickCheck, testpack, time (<1.7), utf8-string [details]
License BSD3
Copyright Copyright (c) 2005-2011 John Goerzen
Author John Goerzen
Maintainer Nicolas Wu <nicolas.wu@gmail.com>
Stability Stable
Category Database
Home page http://github.com/hdbc/hdbc-postgresql
Source repository head: git clone https://github.com/hdbc/hdbc-postgresql.git
Uploaded Mon Jun 20 20:40:55 UTC 2016 by ErikHesselink
Distributions Debian:2.3.2.3, NixOS:2.3.2.4
Downloads 6867 total (92 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2016-06-20 [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
splitbaseChoose the new smaller, split-up package.EnabledAutomatic
buildtestsBuild the executable to run unit testsDisabledAutomatic
mintime15Use time 1.5 or higher.EnabledAutomatic

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

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for HDBC-postgresql

Readme for HDBC-postgresql-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.