Sim Zacks wrote:
> The problem is that on a successful restore with warnings, the user is
> used to clicking the Done button. I have had to drop the database and
> restore again a number of times because I was used to clicking the
> button and it tried to restore again.
> If it completely fails, then I see your point.
OK, I understand now, it's the warning case. Seems the pg_restore return
code handling needs some tuning.
Regards,
Andreas