git.iko.soy/typeable/postgresql-simple
on master help sign in
Merge pull request #105 from haskellari/prepare-0.6.5

Prepare 0.6.5 release

commit9d3eab5b24a04f0bd0bcab790d38eacb2e3cc305 authorOleg Grenrus <oleg.grenrus@iki.fi> dateSun 30 Oct 2022, 18:48 (4 years ago) parent2c2463a50dcd8b
3 files changed+7−2
CHANGES.md+4 postgresql-simple.cabal+1−2 src/Database/PostgreSQL/Simple/Internal.hs+2
CHANGES.md+4
@@ -1,3 +1,7 @@
1+### Version 0.6.5 (2022-10-30)
2+
3+ * Add `withConnect`
4+
15### Version 0.6.4 (2021-01-06)
26
37 * Add foldCopyData helper function
postgresql-simple.cabal+1−2
@@ -1,7 +1,6 @@
11cabal-version: 1.12
22name: postgresql-simple
3−version: 0.6.4
4−x-revision: 9
3+version: 0.6.5
54synopsis: Mid-Level PostgreSQL client library
65description:
76 Mid-Level PostgreSQL client library, forked from mysql-simple.
src/Database/PostgreSQL/Simple/Internal.hs+2
@@ -156,6 +156,8 @@ connect :: ConnectInfo -> IO Connection
156156connect = connectPostgreSQL . postgreSQLConnectionString
157157
158158-- | Memory bracket around 'connect' and 'close'.
159+--
160+-- @since 0.6.5
159161withConnect :: ConnectInfo -> (Connection -> IO c) -> IO c
160162withConnect connInfo = bracket (connect connInfo) close
161163