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

From: Federico Di Gregorio <fog(at)initd(dot)org>
To: psycopg(at)postgresql(dot)org
Subject: Re: Problem with Zope 2.13.15, python 2.6.6 psycopg2-2.4.5, pg 9.0.3
Date: 2012-09-19 07:31:20
Message-ID: 505974C8.2040300@initd.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)digregorio(at)dndg(dot)it
Studio Associato Di Nunzio e Di Gregorio http://dndg.it
I came like Water, and like Wind I go. -- Omar Khayam

In response to

Browse psycopg by date

  From Date Subject
Next Message Tobias Oberstein 2012-09-19 12:36:11 Re: JSON type caster
Previous Message Daniele Varrazzo 2012-09-19 03:35:45 Re: JSON type caster