From: | Dave Page <dpage(at)postgresql(dot)org> |
---|---|
To: | andy(dot)shellam-lists(at)mailnetwork(dot)co(dot)uk |
Cc: | PgAdmin Support Mailing List <pgadmin-support(at)postgresql(dot)org> |
Subject: | Re: Restore dialog |
Date: | 2007-05-14 14:14:45 |
Message-ID: | 46486ED5.6060306@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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
From | Date | Subject | |
---|---|---|---|
Next Message | andy.shellam-lists | 2007-05-14 14:53:03 | Re: Restore dialog |
Previous Message | Andy Shellam | 2007-05-12 13:34:57 | Restore dialog |