Re: connection already closed error

From: Federico Di Gregorio <fog(at)dndg(dot)it>
To: psycopg(at)postgresql(dot)org
Subject: Re: connection already closed error
Date: 2011-10-18 15:38:16
Message-ID: 4E9D9D68.9000302@dndg.it
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On 18/10/11 17:11, Daniele Varrazzo wrote:
[snip]
> Fog, whaddyathink: "conn.close(); conn.close()" should raise an
> exception or should just return?

Just return. If we don't have a good reason to throw lets don't.

--
Federico Di Gregorio fog(at)initd(dot)org
Purtroppo i creazionisti non si sono ancora estinti. -- vodka

In response to

Browse psycopg by date

  From Date Subject
Next Message Daniele Varrazzo 2011-10-19 09:46:06 Rollback on close [Was: Fwd: [DB-SIG] conn.close() idempotence]
Previous Message Mark Theisen 2011-10-18 15:21:27 Re: connection already closed error