Re: RM#1387 [Add-on PATCH] Bad handling of missing connection database server

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: RM#1387 [Add-on PATCH] Bad handling of missing connection database server
Date: 2016-08-30 16:05:22
Message-ID: CAG7mmoxUL-H1poTGZz4KyMd9Tw3Po4yRDw_GK1Wu6w4YTK1WXA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Tue, Aug 30, 2016 at 7:16 PM, Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com
> wrote:

> Hi Dave,
>
> Please find the add-on patch on top of the current change.
>
> Can you please take a look at it?
> This mainly works on the postgres driver to make an attempt to reconnect
> the server.
>

One more attempt with some more corner cases handling.
* Handled the connection-lost, and object gone error on client side during
'refresh' operation.
* Handle the reconnection more consistently (even during cursor object
creation).

Please take a look at it.

--

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>

>
> --
>
> 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
RM1387_addon_v2.patch application/octet-stream 23.6 KB

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2016-08-31 12:04:41 pgAdmin 4 commit: Updated screenshots.
Previous Message Ashesh Vashi 2016-08-30 13:46:44 RM#1387 [Add-on PATCH] Bad handling of missing connection database server