Skip to content

hdbc/hdbc-postgresql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5322ff7 · Feb 17, 2022
Feb 2, 2021
Feb 16, 2022
Apr 13, 2009
Feb 17, 2022
Feb 17, 2022
Aug 9, 2011
Jan 28, 2009
Feb 17, 2010
Sep 19, 2019
Dec 14, 2018

Repository files navigation

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.