Please find attached a small patch so that "pg_restore" ignores some sql
Bruce Momjian <bruce@momjian.us>
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. Fabien COELHO
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/pg_dump/pg_backup_archiver.c | modified | +30 −5 |
| src/bin/pg_dump/pg_backup_archiver.h | modified | +2 −1 |
| src/bin/pg_dump/pg_backup_db.c | modified | +3 −3 |
| src/bin/pg_dump/pg_backup.h | modified | +6 −1 |
| src/bin/pg_dump/pg_restore.c | modified | +16 −2 |