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

DB.HSQL.PG.Core

Description

 

Synopsis

Documentation

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