Re: [psycopg] psycopg2.pool connection recovery/healing - Mailing list psycopg

From Daniele Varrazzo
Subject Re: [psycopg] psycopg2.pool connection recovery/healing
Date
Msg-id CA+mi_8bp4iNcLbxpNGHR=JNML_Rq6_n0JiHsYFgRa12CP=AQoQ@mail.gmail.com
Whole thread Raw
In response to [psycopg] psycopg2.pool connection recovery/healing  (Paul Bryan <pbryan@salesforce.com>)
Responses Re: [psycopg] psycopg2.pool connection recovery/healing  (Paul Bryan <pbryan@salesforce.com>)
List psycopg
On Wed, Jan 4, 2017 at 11:50 PM, Paul Bryan <pbryan@salesforce.com> wrote:
> If a connection from a connection pool goes bad (e.g. got disconnected),
> what's the right thing to do with it?

If you put it back in the pool it should be detected as broken and
replaced with a fresh one.

-- Daniele


psycopg by date:

Previous
From: Paul Bryan
Date:
Subject: [psycopg] psycopg2.pool connection recovery/healing
Next
From: Paul Bryan
Date:
Subject: Re: [psycopg] psycopg2.pool connection recovery/healing