Re: Autosave in the SQL Editor

Поиск
Список
Период
Сортировка
От Guillaume Lelarge
Тема Re: Autosave in the SQL Editor
Дата
Msg-id 1344368186.1964.27.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Autosave in the SQL Editor  (Vinicius Santos <vinicius.santos.lista@gmail.com>)
Ответы Re: Autosave in the SQL Editor  (Vinicius Santos <vinicius.santos.lista@gmail.com>)
Список pgadmin-hackers
On Tue, 2012-08-07 at 08:44 -0300, Vinicius Santos wrote:
> > Seems good to me. We are talking about the query tool, right?
>
>
> Right.
>
>
> > Be careful
> > that users may have many query tool windows open at the same time.
> >
>
> Actually I thought of something simple.
>
> One file per window, when the window is closed, the pgAdmin will delete it.
>
> We avoid the loss of query, when the pgadmin crashes or because of a power
> outage.
>
> So, when the user open the window, the pgAdmin will ask to the user if he
> wants reopen the file found by pgAdmin.
>
> If the user answer is NO, the pgAdmin will delete the file.

Well, this seems good but there's an issue I don't know how you want to
deal with it: what's happens if I had more than one window opened? IOW,
how do you decide which file you should open? if there is more than one
file, and some files were open on different databases, how will you
handle this?


--
Guillaume
http://blog.guillaume.lelarge.info
http://www.dalibo.com


В списке pgadmin-hackers по дате отправления:

Предыдущее
От: Timon
Дата:
Сообщение: Russian translation
Следующее
От: Guillaume Lelarge
Дата:
Сообщение: pgAdmin III commit: Update russian translation