[Haskell-cafe] database access recommendation

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Thu Apr 27 12:17:53 EDT 2006

On Thu, 2006-04-27 at 10:45 -0500, Brock Peabody wrote:
> I'm teaching myself Haskell, and was wondering if anyone could recommend
> a library for accessing databases, PostgreSQL in particular.
> I looked at http://www.haskell.org/haskellwiki/Libraries_and_tools, and
> HSQL looked promising, but I can't get it to install on Windows or
> FreeBSD, with Hugs or GHC.  According to the FreeBSD ports system, it is
> marked as broken.

There is also HDBC which is nearing a 1.0 release and in my experience
is easier to install. (I package both HSQL & HDBC for Gentoo)


In particular you'll want:

and the PostgreSQL backend:

API docs:


More information about the Haskell-Cafe mailing list