Re: Restore dialog

Поиск
Список
Период
Сортировка
От Dave Page
Тема Re: Restore dialog
Дата
Msg-id 46486ED5.6060306@postgresql.org
обсуждение исходный текст
Ответ на Restore dialog  (Andy Shellam <andy.shellam-lists@mailnetwork.co.uk>)
Ответы Re: Restore dialog  (andy.shellam-lists@mailnetwork.co.uk)
Список 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 по дате отправления:

Предыдущее
От: Andy Shellam
Дата:
Сообщение: Restore dialog
Следующее
От: andy.shellam-lists@mailnetwork.co.uk
Дата:
Сообщение: Re: Restore dialog