mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 18:36:12 +02:00
Manage the whole class of "integrity violation" errors.
This commit is contained in:
parent
59e87b84a0
commit
4cbe4b3218
@ -93,7 +93,7 @@ details about the format, and format specs."
|
||||
;; If PostgreSQL signals a data error, process the batch by isolating
|
||||
;; erroneous data away and retrying the rest.
|
||||
((or
|
||||
CL-POSTGRES-ERROR:UNIQUE-VIOLATION
|
||||
CL-POSTGRES-ERROR:INTEGRITY-VIOLATION
|
||||
CL-POSTGRES-ERROR:DATA-EXCEPTION) (condition)
|
||||
(retry-batch table-name columns batch count condition)))))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user