Re: Psycopg 2.5 released

From: Julian <tempura(at)internode(dot)on(dot)net>
To: psycopg(at)postgresql(dot)org
Subject: Re: Psycopg 2.5 released
Date: 2013-04-08 00:57:38
Message-ID: 51621602.9020305@internode.on.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: psycopg

On 08/04/13 09:47, Julian wrote:
> Thanks for the great work!
> On 08/04/13 05:16, Daniele Varrazzo wrote:
>> We are happy to announce the release 2.5 of Psycopg. For a detailed list
>> of the release highlights please check the article at
>> <http://initd.org/psycopg/articles/2013/04/07/psycopg-25-released/>.
>
>
Hi,
Just an observation on your sites release notes:

"when the connection block exits normally the current transaction is
committed, if it exits with an exception instead the transaction is
rolled back, *in either case the connection is closed*."

Its not what I prefer, I went and checked anyway and it appears it
doesn't (close the connection for either commit or rollback).
Unless I've missed something.

Perhaps a last_state attribute with 'commit' or 'rollback'? (I have no
faith).

Anyhow, something to play *with*. :)

Thanks.

Jules.

In response to

Responses

Browse psycopg by date

  From Date Subject
Next Message Julian 2013-04-08 07:01:05 Best practice for managing connections?
Previous Message Julian 2013-04-07 23:47:05 Re: Psycopg 2.5 released