Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

reconnecting to DB after connection break


  • From: Julius Tuskenis <julius(dot)tuskenis(at)gmail(dot)com>
  • To: pgadmin-hackers(at)postgresql(dot)org
  • Subject: reconnecting to DB after connection break
  • Date: Fri, 21 Aug 2009 13:16:09 +0300
  • Message-id: <4A8E73E9.7020702@gmail.com> <text/plain>

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




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group