The HDBC package

[Tags: bsd3, library]

HDBC provides an abstraction layer between Haskell programs and SQL relational databases. This lets you write database code once, in Haskell, and have it work with any number of backend SQL databases (MySQL, Oracle, PostgreSQL, ODBC-compliant databases, etc.)

[Skip to ReadMe]


Versions1.0.1, 1.1.3, 1.1.4, 1.1.5, 1.1.6, 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6,,,,,,,
Change logNone available
Dependenciesbase (<5), bytestring, containers, convertible (>=, HUnit, mtl, old-locale, old-time, QuickCheck (>=2.0), testpack (>=2.0), time (>= && <=, utf8-string [details]
CopyrightCopyright (c) 2005-2010 John Goerzen
AuthorJohn Goerzen
MaintainerJohn Goerzen <>
Home page
UploadedTue Jul 20 20:30:07 UTC 2010 by JohnGoerzen
DistributionsDebian:, NixOS:, Stackage:
Downloads13876 total (128 in last 30 days)
0 []
StatusDocs uploaded by user
Build status unknown [no reports yet]




splitbaseChoose the new smaller, split-up base package.EnabledAutomatic
buildtestsBuild the executable to run unit testsDisabledAutomatic
time_gte_113time > 1.1.3 has defined some more instances so omit them hereEnabledAutomatic

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


Maintainers' corner

For package maintainers and hackage trustees

Readme for HDBC-

Welcome to HDBC, Haskell Database Connectivity.

HDBC is modeled loosely on Perl's DBI interface, though it has also
been influenced by Python's DB-API v2, JDBC in Java, and HSQL in

Please see doc/Database-HDBC.html for an introduction to HDBC and its
various features.


You'll need either GHC 6.4.1 or above, or Hugs 2005xx or above.

The steps to install are:

1) ghc --make -o setup Setup.lhs

2) ./setup configure

3) ./setup build

4) ./setup install   (as root)

If you're on Windows, you can omit the leading "./".

Documentation is in doc/ -- lots of information, including pointers to
drivers, is in doc/Database-HDBC.html.


To use with hugs, you'll want to use hugs -98.

To use with GHC, you'll want to use -package HDBC in your programs.
Or, with Cabal, use Build-Depends: HDBC.

-- John Goerzen
   December 2005