HDBC-postgresql: PostgreSQL driver for HDBC

[ bsd3, database, library ] [ Propose Tags ] [ Report a vulnerability ]

This package provides a PostgreSQL driver for HDBC


[Skip to Readme]

Modules

[Index] [Quick Jump]

Flags

Automatic Flags
NameDescriptionDefault
splitbase

Choose the new smaller, split-up package.

Enabled
buildtests

Build the executable to run unit tests

Disabled
mintime15

Use time 1.5 or higher.

Enabled

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

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 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, 2.3.2.5, 2.3.2.6, 2.3.2.7, 2.3.2.8, 2.4.0.0, 2.5.0.0, 2.5.0.1
Change log CHANGELOG.md
Dependencies base (>=3 && <5), bytestring, containers, convertible, HDBC (>=2.2.0), HUnit, mtl, old-locale, old-time, parsec, QuickCheck, time (<1.14), utf8-string [details]
License BSD-3-Clause
Copyright Copyright (c) 2005-2011 John Goerzen
Author John Goerzen
Maintainer Nicolas Wu <nicolas.wu@gmail.com>
Category Database
Home page http://github.com/hdbc/hdbc-postgresql
Source repo head: git clone https://github.com/hdbc/hdbc-postgresql.git
Uploaded by DavidJohnson at 2022-02-17T00:04:29Z
Distributions Debian:2.3.2.7, NixOS:2.5.0.1
Reverse Dependencies 11 direct, 47 indirect [details]
Executables runtests
Downloads 26454 total (94 in the last 30 days)
Rating 1.25 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-02-17 [all 1 reports]

Readme for HDBC-postgresql-2.5.0.1

[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"

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

None known at this time.