Re: Restore dialog - Mailing list pgadmin-support

From Dave Page
Subject Re: Restore dialog
Date
Msg-id 46486ED5.6060306@postgresql.org
Whole thread Raw
In response to Restore dialog  (Andy Shellam <andy.shellam-lists@mailnetwork.co.uk>)
Responses Re: Restore dialog
List pgadmin-support
Andy Shellam wrote:
> Hi Dave,
> 
> A quick suggestion for PgAdmin's "Restore database" dialog.
> 
> When you restore a database, you select your file and options, then
> click "OK" and the restore does it's thing and finishes, showing you the
> output from pg_restore. However the button stays as "OK".  So you
> instinctively click it again to close the dialog, and it tries to do the
> restore again - you have to click Cancel or close the window instead.
> 
> Can this be changed so it's like the backup, where you click OK to start
> the backup, but once it's finished, the OK button changes to "Done" and
> closes the window when you click it.

Hi Andy,

They actually do work the same - if the external process returns a
non-zero value, it's assumed that you may want to try again with
different options (or having tweaked the database) so the button doesn't
change.

If zero is returned, the button changes to 'Done' because the task
completed successfully.

Regards, Dave


pgadmin-support by date:

Previous
From: Andy Shellam
Date:
Subject: Restore dialog
Next
From: andy.shellam-lists@mailnetwork.co.uk
Date:
Subject: Re: Restore dialog