Thread: pg_restore aborts when object missing

pg_restore aborts when object missing

From
Alex Paulusberger
Date:
Hi,
I am trying to restore a database with pg_restore -c  which according to
the man pages drops database objects prior to recreating them. However,
of on the destination database an index (in my case) does not exist, the
restore process aborts.

Is there a way to force the restore process to continue and instead
recreate these missing objects?

Thanks
Alex