hpqtypes-1.6.0.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

c_PQcancel :: Ptr PGconn -> IO (Maybe String) Source #

Attempt to cancel currently running query. If the request is successfully dispatched Nothing is returned, otherwise a textual explanation of what happened.

libpqtypes imports

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