git.iko.soy/typeable/postgresql-simple
on master help sign in
Make this compile against postgresql-libpq-0.6

I probably ought to get loExport and loImport to raise an informative exception instead of punting.

commit293b157146319238b9edb87c19be51e886886b32 authorLeon P Smith <leon@melding-monads.com> dateTue 27 Dec 2011, 16:23 (15 years ago) parent3ecf655
2 files changed+2−2
postgresql-simple.cabal+1−1 src/Database/PostgreSQL/Simple/LargeObjects.hs+1−1
postgresql-simple.cabal+1−1
@@ -42,7 +42,7 @@ Library
4242 blaze-textual,
4343 bytestring >= 0.9,
4444 containers,
45− postgresql-libpq,
45+ postgresql-libpq >= 0.6,
4646 pcre-light,
4747 old-locale,
4848 text >= 0.11.0.2,
src/Database/PostgreSQL/Simple/LargeObjects.hs+1−1
@@ -22,5 +22,5 @@ import Foreign.C.Types(CInt)
2222loImport :: Connection -> FilePath -> IO (Maybe Oid)
2323loImport conn path = withConnection conn $ \c -> PQ.loImport c path
2424
25−loExport :: Connection -> Oid -> FilePath -> IO CInt
25+loExport :: Connection -> Oid -> FilePath -> IO (Maybe ())
2626loExport conn oid path = withConnection conn $ \c -> PQ.loExport c oid path