Re: Problem with Zope 2.13.15, python 2.6.6 psycopg2-2.4.5, pg 9.0.3 - Mailing list psycopg

From Federico Di Gregorio
Subject Re: Problem with Zope 2.13.15, python 2.6.6 psycopg2-2.4.5, pg 9.0.3
Date
Msg-id 505974C8.2040300@initd.org
Whole thread Raw
In response to Re: Problem with Zope 2.13.15, python 2.6.6 psycopg2-2.4.5, pg 9.0.3  (Daniele Varrazzo <daniele.varrazzo@gmail.com>)
List psycopg
On 18/09/2012 20:13, Daniele Varrazzo wrote:
>> > 1. what happens with regular pages that got broken as in the provided
>> > case? Desired result is that everything works as expected.
>> >
>> > 2. what happens with pages making an error? Desired result is
>> > eventually an error in the page but further pages generated correctly.
>> >
>> > 3. what happens if the database is restarted? Desired result is
>> > eventually an error in the first page loaded but further pages
>> > generated correctly (the pool should restore the connection).
>> >
>> > Thank you very much.
> From analysis performed by Wolfgang Eibner in ticket #125, I suspect
> something broke when ticket #73 was fixed and doesn't involve the pool
> (although the pool rolling back the connection would still cause
> problems).
>
> If this is the case, the source of the problems is to be found in
> ZPsycopgDA/db.py, in DB.getconn.
>
> Any help to fix the issue would be appreciated.

I'll have a look at this. Just need to install Zope even if I sweared
I'd never do that again. ;)

federico

--
Federico Di Gregorio                         federico.digregorio@dndg.it
Studio Associato Di Nunzio e Di Gregorio                  http://dndg.it
                   I came like Water, and like Wind I go. -- Omar Khayam


psycopg by date:

Previous
From: Daniele Varrazzo
Date:
Subject: Re: JSON type caster
Next
From: Tobias Oberstein
Date:
Subject: Re: JSON type caster