hpqtypes-1.5.2.0: Haskell bindings to libpqtypes

Safe HaskellNone
LanguageHaskell2010

Database.PostgreSQL.PQTypes.Internal.C.Interface

Contents

Description

Exports a set of FFI-imported libpq/libpqtypes functions.

Synopsis

libpq imports

libpqtypes imports

c_PQconnectdb :: CString -> IO (ForeignPtr (Ptr PGconn)) Source #

Safe wrapper for c_rawPQconnectdb, returns ForeignPtr instead of Ptr.

c_PQparamExec :: Ptr PGconn -> Ptr PGerror -> Ptr PGparam -> CString -> ResultFormat -> IO (ForeignPtr PGresult) Source #

Safe wrapper for c_rawPQparamExec. Wraps result returned by c_rawPQparamExec in ForeignPtr with asynchronous exceptions masked to prevent memory leaks.

misc imports