pipes-postgresql-simple 0.1.2.0 → 0.1.3.0
raw patch · 2 files changed
+2/−2 lines, 2 files
Files
pipes-postgresql-simple.cabal view
@@ -1,5 +1,5 @@ name: pipes-postgresql-simple-version: 0.1.2.0+version: 0.1.3.0 synopsis: Convert various postgresql-simple calls to work with pipes description: This library provides a few Producers and Consumers that allow @postgresql-simple@ calls to be made within the @pipes@ framework. Currently,
src/Pipes/PostgreSQL/Simple.hs view
@@ -91,7 +91,7 @@ toTable c fmt tblName p0 = do liftIO $ Pg.copy_ c $ fromString $ concat [ "COPY " , tblName- , " FROM STDIN WITH (FORMAT " , show fmt, "\")"+ , " FROM STDIN WITH (FORMAT " , show fmt, ")" ] let go p = do x <- Pipes.next p `onException`