[pgAdmin III] #366: Prevent loss of query text when pgAdmin crashes or freezes

From: "pgAdmin Trac" <trac(at)code(dot)pgadmin(dot)org>
To:
Cc: pgadmin-hackers(at)postgresql(dot)org
Subject: [pgAdmin III] #366: Prevent loss of query text when pgAdmin crashes or freezes
Date: 2012-07-02 20:44:46
Message-ID: 052.31162c8dfe202cc1d6938d0a841856b2@code.pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

#366: Prevent loss of query text when pgAdmin crashes or freezes
-------------------------+--------------------------------------------------
Reporter: Evan Martin | Owner: dpage
Type: feature | Status: new
Priority: minor | Milestone:
Component: pgadmin | Version: trunk
Keywords: | Platform: all
-------------------------+--------------------------------------------------
I often have multiple SQL query windows open in pgAdmin (v1.14.3 on
Windows 7 x64). From time to time pgAdmin will crash or freeze (become
unresponsive) and would have to be killed. When this happens all unsaved
query text is lost, which is extremely frustrating. It's by far the
biggest problem for me in using pgAdmin.

Please implement some way to recover the query text from such crashes.
Ideally something like what Firefox or Chrome do: when restarted after a
crash they offer the option to restore previous windows (including form
data, at least in Chrome). This would require that pgAdmin saves query
text in the background on a regular basis (at least before running any
query).

Another great way to mitigate this would be to run each SQL query window
in a separate process, so it could crash without bringing down the rest.
However, the main pgAdmin process could crash, too, and this should not
kill the query window processes without allowing data to be saved.

--
Ticket URL: <http://code.pgadmin.org/trac=/ticket/366>
pgAdmin III <http://code.pgadmin.org/trac/>
pgAdmin III

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2012-07-03 10:22:59 Re: Add Server in PgAdmin 3
Previous Message Guillaume Lelarge 2012-07-02 20:39:36 Re: Add Server in PgAdmin 3