Re: Autosave in the SQL Editor

From: Vinicius Santos <vinicius(dot)santos(dot)lista(at)gmail(dot)com>
To: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: Autosave in the SQL Editor
Date: 2012-08-07 11:44:54
Message-ID: CAOTD_5GRtyxSSgcRyFhxcbQc7ERxsWb2iRc9R_ivVqX1qVRDHg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

> 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.

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Vinicius Santos 2012-08-07 11:56:48 Fwd: Autosave in the SQL Editor
Previous Message Guillaume Lelarge 2012-08-07 09:11:05 Re: Autosave in the SQL Editor