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

Safe HaskellNone
LanguageHaskell98

DB.HSQL.PG.Core

Description

 

Synopsis

Documentation

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