Fix previous patch: also process the bad row.

The bad row needs to go to the reject file, and its condition error message
to the reject log. Ooops, forgot.

See #836.
This commit is contained in:
Dimitri Fontaine 2019-02-15 00:07:39 +01:00
parent 632f7f5b4e
commit 69d9b381dc

View File

@ -77,6 +77,7 @@
(copy-partial-batch table-name columns batch 1 pos))
(postgresql-retryable (condition)
(pomo:execute "ROLLBACK")
(process-bad-row table condition (aref (batch-data batch) pos))
(if first-error
;; the first error has been logged about already
(setf first-error nil)