Re: pgAdmin III commit: Ask to reset connection in the query tool - Mailing list pgadmin-hackers

From Timon
Subject Re: pgAdmin III commit: Ask to reset connection in the query tool
Date
Msg-id BANLkTikSC8hKKb7S_2fEVkxi-_1Tjh4=wA@mail.gmail.com
Whole thread Raw
In response to pgAdmin III commit: Ask to reset connection in the query tool  (Guillaume Lelarge <guillaume@lelarge.info>)
Responses Re: pgAdmin III commit: Ask to reset connection in the query tool
List pgadmin-hackers
hmm, seem that it asks about reconnection even when query has syntax error

from messages tab:
ERROR:  syntax error at or near "to"
СТРОКА 3:  substring(sender from 1 to 11),
                                   ^
********** Ошибка **********
ERROR: syntax error at or near "to"
SQL state: 42601
Символ: 52

2011/5/4 Guillaume Lelarge <guillaume@lelarge.info>
Ask to reset connection in the query tool

If a query fails because of a bad connection, the query tool will ask the user
if he wants an automatic reset. If yes, it'll try to reset the connection.

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=7cbb6b50b7a9524b6a19323fcee79be4af29a479

Modified Files
--------------
CHANGELOG                   |    1 +
pgadmin/db/pgConn.cpp       |    6 ++++++
pgadmin/frm/frmQuery.cpp    |   24 +++++++++++++++++++-----
pgadmin/include/db/pgConn.h |    2 ++
4 files changed, 28 insertions(+), 5 deletions(-)


--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers



--
All bugs reserved

pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Website moved
Next
From: Dave Page
Date:
Subject: Re: pgAdmin 1.14 Visual Tour