reconnecting to DB after connection break - Mailing list pgadmin-hackers

From Julius Tuskenis
Subject reconnecting to DB after connection break
Date
Msg-id 4A8E73E9.7020702@gmail.com
Whole thread Raw
Responses Re: reconnecting to DB after connection break
Re: reconnecting to DB after connection break
List pgadmin-hackers
Hello,

I'm thinking of changing pgAdmin so it would try to reconnect after its
connection to server breaks. Is that ok with you? Maybe theres someone
already dealing with the problem.

I think I could change pgConn::ExecuteVoid, pgConn::ExecuteScalar and
pgConn::ExecuteSet methods so on connection to DB error there would be
an attempt to reconnect. If someone knows a better solution - please,
share it. :)

I'm new here so maybe someone would advice what "pitfalls" to avoid.

--
Julius Tuskenis


pgadmin-hackers by date:

Previous
From: "pgAdmin Trac"
Date:
Subject: Re: [pgAdmin III] #47: Savepoints in PgAdmin
Next
From: Ângelo Marcos Rigo
Date:
Subject: ...