diff --git a/src/pgsql/pgsql.lisp b/src/pgsql/pgsql.lisp index 85f7d63..504164b 100644 --- a/src/pgsql/pgsql.lisp +++ b/src/pgsql/pgsql.lisp @@ -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)))))