Reported-by: Liudmila Mantrova
Discussion: https://postgr.es/m/
f3e2c0f5-5266-d626-58d7-
b77e1b29d870@postgrespro.ru
Author: Liudmila Mantrova
Backpatch-through: 9.3
behavior and have
psql exit with an
exit status of 3 if an SQL error occurs:
-psql --set ON_ERROR_STOP=on dbname < dumpfile
+psql --set ON_ERROR_STOP=on dbname < dumpfile
Either way, you will only have a partially restored database.
Alternatively, you can specify that the whole dump should be