mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
Catch PostgreSQL internal errors too, fixes #155.
This commit is contained in:
parent
86fab763a8
commit
ce5a61face
@ -32,6 +32,7 @@
|
||||
((or
|
||||
cl-postgres-error::data-exception
|
||||
cl-postgres-error::integrity-violation
|
||||
cl-postgres-error::internal-error
|
||||
cl-postgres-error::insufficient-resources
|
||||
cl-postgres-error::program-limit-exceeded) (condition)
|
||||
(retry-batch table-name columns batch batch-rows condition))))
|
||||
@ -201,6 +202,7 @@
|
||||
((or
|
||||
cl-postgres-error::data-exception
|
||||
cl-postgres-error::integrity-violation
|
||||
cl-postgres-error:internal-error
|
||||
cl-postgres-error::insufficient-resources
|
||||
cl-postgres-error::program-limit-exceeded) (next-error-in-batch)
|
||||
|
||||
|
||||
@ -24,3 +24,4 @@ LOAD CSV
|
||||
1 email=>foo@example.com,a=>b
|
||||
2 test=>value
|
||||
3 a=>b,c=>"quoted hstore value",d=>other
|
||||
4 baddata
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user