mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
Don't push-row a nil value.
In case of a failure to pre-process or transform values in the row that as been read, we need to refrain from pushing the row into our next batch. See #726, that got hit by the recent bug in the middle of something else entirely.
This commit is contained in:
parent
25152f6054
commit
5ecd03ceba
@ -141,4 +141,5 @@
|
||||
"Given a row from the queue, prepare it for the next batch."
|
||||
(multiple-value-bind (pg-vector-row bytes)
|
||||
(prepare-and-format-row copy nbcols row)
|
||||
(push-row current-batch pg-vector-row bytes)))
|
||||
(when pg-vector-row
|
||||
(push-row current-batch pg-vector-row bytes))))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user