git.iko.soy/typeable/postgresql-simple
on master help sign in
Make this compile against postgresql-libpq-0.6
293b157Leon P Smith
postgresql-simple.cabal+1−1
@@ -42,7 +42,7 @@ Library
42 blaze-textual,
42 blaze-textual,
43 bytestring >= 0.9,
43 bytestring >= 0.9,
44 containers,
44 containers,
45− postgresql-libpq,
45+ postgresql-libpq >= 0.6,
46 pcre-light,
46 pcre-light,
47 old-locale,
47 old-locale,
48 text >= 0.11.0.2,
48 text >= 0.11.0.2,
src/Database/PostgreSQL/Simple/LargeObjects.hs+1−1
@@ -22,5 +22,5 @@ import Foreign.C.Types(CInt)
22loImport :: Connection -> FilePath -> IO (Maybe Oid)
22loImport :: Connection -> FilePath -> IO (Maybe Oid)
23loImport conn path = withConnection conn $ \c -> PQ.loImport c path
23loImport conn path = withConnection conn $ \c -> PQ.loImport c path
24
24
25−loExport :: Connection -> Oid -> FilePath -> IO CInt
25+loExport :: Connection -> Oid -> FilePath -> IO (Maybe ())
26loExport conn oid path = withConnection conn $ \c -> PQ.loExport c oid path
26loExport conn oid path = withConnection conn $ \c -> PQ.loExport c oid path