Skip to content

Commit f385ecc

Browse files
author
James William Pye
committed
Reword that paragraph.
Try not to offer confusion with some details of the internals.
1 parent a07a534 commit f385ecc

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

postgresql/documentation/copyman.txt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -231,13 +231,10 @@ Failures
231231
========
232232

233233
When a COPY operation is aborted, either by an exception or by the iterator
234-
being broken, a `postgresql.copyman.CopyFail` exception will be raised,
235-
generalizing the failure. When a failure occurs, the Manager will *attempt* to
236-
recover and realign the Producer and the Receivers. Regardless of the success of
237-
the recovery process, a `postgresql.copyman.CopyFail` exception will be raised.
238-
239-
The `postgresql.copyman.CopyFail` offers to record any exceptions that occur
240-
during the exit of the context manager.
234+
being broken, a `postgresql.copyman.CopyFail` exception will be raised by the
235+
Manager's ``__exit__()`` method. The `postgresql.copyman.CopyFail` exception
236+
offers to record any exceptions that occur during the exit of the context
237+
managers of the Producer and the Receivers.
241238

242239

243240
CopyFail Properties

0 commit comments

Comments
 (0)