git.iko.soy/typeable/postgresql-simple
on master help sign in
Documentation Fixes
commit8fb207469d556566964e9cdf24de4918b4c53d49 authorLeon P Smith <leon@melding-monads.com> dateWed 24 Jul 2013, 13:18 (13 years ago) parentffbc0fe
2 files changed+8−4
CHANGES+4 src/Database/PostgreSQL/Simple/Copy.hs+4−4
CHANGES+4
@@ -3,6 +3,10 @@ Version 0.3.4.0 (2013-07-23)
33 to use raw postgresql-libpq calls and postgresql-simple's Internal
44 module.
55
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+
610Version 0.3.3.2 (2013-06-18)
711 * Optimized the definition of `mconcat` in the Monoid instance for
812 the Query type, courtesy of Joey Adams.
src/Database/PostgreSQL/Simple/Copy.hs+4−4
@@ -14,10 +14,10 @@
1414--
1515-- To use this binding, first call 'copy' with a @COPY FROM STDIN@
1616-- or @COPY TO STDOUT@ query as documented in the link above. Then
17−-- call @getCopyData@ repeatedly until it returns 'CopyOutDone' in
18−-- the former case, or in the latter, call @putCopyData@ repeatedly
19−-- and then finish by calling either @putCopyEnd@ to proceed or
20−-- @putCopyError@ to abort.
17+-- call 'getCopyData' repeatedly until it returns 'CopyOutDone' in
18+-- the former case, or in the latter, call 'putCopyData' repeatedly
19+-- and then finish by calling either 'putCopyEnd' to proceed or
20+-- 'putCopyError' to abort.
2121--
2222-- You cannot issue another query on the same connection while a copy
2323-- is ongoing; this will result in an exception. It is harmless to