On restarting/reloading the server establish the connections with database server smoothly

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: On restarting/reloading the server establish the connections with database server smoothly
Date: 2016-03-17 17:32:59
Message-ID: CAG7mmowd2Wundyj+DEYUD3O8=M=7WuM7gUPcu+h_zf9oDorBGQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Hi Dave/Team,

As discussed, I have implemented the feature to reconnect the database
server smoothly, whenever we restart/reload the web-application server
(pgAdmin IV).

In this implementation, we stores the persistent (auto reconnect)
connection information in the session, whenever we connect to/disconnect
with the database server. In case of restarting, we fetch that information
from the session, and establish the persistent connection(s) for any server.

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
<http://www.enterprisedb.com>

*http://www.linkedin.com/in/asheshvashi*
<http://www.linkedin.com/in/asheshvashi>

Attachment Content-Type Size
reconnect_server_nicely_v2.patch application/octet-stream 9.4 KB

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Khushboo Vashi 2016-03-17 17:39:17 Re: pgAdmin4 PATCH: Domain Module
Previous Message Ashesh Vashi 2016-03-17 17:20:51 pgAdmin 4 commit: Log exceptions raised under the servers module.