Ah, this v2 version has the proper exit code. Great.
---
Fabien COELHO wrote:
>
> Dear patchers,
>
> please find attached a small patch so that "pg_restore" ignores some sql
> errors. This is the second submission, which
[ Newest version.]
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---
Fabien COELHO wrote:
Dear patchers,
please find attached a small patch so that "pg_restore" ignores some sql
errors. This is the second submission, which integrates Tom comments about
localisation and exit code. I also added some comments about one sql
command which is not ignored.
I tested it.
Have a nice day,
--