hsql-postgresql-1.8.2: A Haskell Interface to PostgreSQL via the PQ library.

Safe HaskellSafe-Infered

Database.HSQL.PostgreSQL

Description

 

Synopsis

Documentation

connectSource

Arguments

:: String

Server name : port nr

-> String

Database name

-> String

User identifier

-> String

Authentication string (password)

-> IO Connection 

Makes a new connection to the database server

connectWithOptionsSource

Arguments

:: String

Server name

-> Maybe String

Port number

-> Maybe String

Options

-> Maybe String

TTY

-> String

Database name

-> String

User identifier

-> String

Authentication string (password)

-> IO Connection 

Makes a new connection to the database server, with specification of port, options & tty