hsql-postgresql-1.8.2: 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 Statement Source
fetch :: MVar Int -> Int -> IO Bool Source
getColValue :: PGresult -> MVar Int -> Int -> Int -> ColDef -> (ColDef -> CString -> Int -> IO a) -> IO a Source
newCStringElseNullPtr :: Maybe String -> IO CString Source
Convert string by newCString, if provided, else return of nullPtr