git.iko.soy/typeable/postgresql-simple
on master help sign in
Documentation Fixes
8fb2074Leon P Smith
@@ -3,6 +3,10 @@ Version 0.3.4.0 (2013-07-23)
3 to use raw postgresql-libpq calls and postgresql-simple's Internal
3 to use raw postgresql-libpq calls and postgresql-simple's Internal
4 module.
4 module.
5
5
6+ * Changed `getNotification` so that it throws a IOError (resource vanished)
7+ exception instead of an ErrorCall exception when it fails to fetch
8+ the connection's file descriptor from libpq.
9+
6Version 0.3.3.2 (2013-06-18)
10Version 0.3.3.2 (2013-06-18)
7 * Optimized the definition of `mconcat` in the Monoid instance for
11 * Optimized the definition of `mconcat` in the Monoid instance for
8 the Query type, courtesy of Joey Adams.
12 the Query type, courtesy of Joey Adams.
src/Database/PostgreSQL/Simple/Copy.hs+4−4
@@ -14,10 +14,10 @@
14--
14--
15-- To use this binding, first call 'copy' with a @COPY FROM STDIN@
15-- To use this binding, first call 'copy' with a @COPY FROM STDIN@
16-- or @COPY TO STDOUT@ query as documented in the link above. Then
16-- or @COPY TO STDOUT@ query as documented in the link above. Then
17−-- call @getCopyData@ repeatedly until it returns 'CopyOutDone' in
17+-- call 'getCopyData' repeatedly until it returns 'CopyOutDone' in
18−-- the former case, or in the latter, call @putCopyData@ repeatedly
18+-- the former case, or in the latter, call 'putCopyData' repeatedly
19−-- and then finish by calling either @putCopyEnd@ to proceed or
19+-- and then finish by calling either 'putCopyEnd' to proceed or
20−-- @putCopyError@ to abort.
20+-- 'putCopyError' to abort.
21--
21--
22-- You cannot issue another query on the same connection while a copy
22-- You cannot issue another query on the same connection while a copy
23-- is ongoing; this will result in an exception. It is harmless to
23-- is ongoing; this will result in an exception. It is harmless to