hsql-postgresql-1.8.1: A Haskell Interface to PostgreSQL via the PQ library.
DB.HSQL.PG.Core
Description
Synopsis
execute :: PGconn -> String -> IO ()Source
query :: Connection -> PGconn -> String -> IO StatementSource
fetch :: MVar Int -> Int -> IO BoolSource
getColValue :: PGresult -> MVar Int -> Int -> Int -> FieldDef -> (FieldDef -> CString -> Int -> IO a) -> IO aSource
newCStringElseNullPtr :: Maybe String -> IO CStringSource
Convert string by newCString, if provided, else return of nullPtr