mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-05 02:46:10 +02:00
Restrict condition handling to relevant conditions.
In md-methods copy-database function, don't pretend we are able to handle any condition when preparing the PostgreSQL schema, database-error is all we are dealing with there really.
This commit is contained in:
parent
d3d40cd47d
commit
e87477ed31
@ -131,7 +131,7 @@
|
||||
(when truncate
|
||||
(truncate-tables pgsql-catalog)))
|
||||
|
||||
(condition (e)
|
||||
(cl-postgres:database-error (e)
|
||||
(log-message :fatal "Failed to prepare target PostgreSQL table.")
|
||||
(log-message :fatal "~a" e)
|
||||
(return-from copy-database)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user