mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
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:
parent
632f7f5b4e
commit
69d9b381dc
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user