Skip site navigation (1) Skip section navigation (2)

python - pq: Remove the Block interface and fix bugs in Passive.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - pq: Remove the Block interface and fix bugs in Passive.
Date: 2007-11-08 18:58:04
Message-ID: 20071108185804.453D2216D0E@pgfoundry.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Remove the Block interface and fix bugs in Passive.

Block was inherently flawed as exceptions thrown by the second read invocation
would potentially cause unrecoverable state loss. That's bad.
(There are exceptions here, but it tends to require much work from the user)

Fix bugs in passive that would cause state-loss in low memory situations.

Modified Files:
--------------
    pq/src:
        buffer.c (r1.5 -> r1.6)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/buffer.c.diff?r1=1.5&r2=1.6)
        buffer.py (r1.4 -> r1.5)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/buffer.py.diff?r1=1.4&r2=1.5)

Added Files:
-----------
    pq/src:
        pbuffer.py (r1.1)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/pbuffer.py?rev=1.1&content-type=text/x-cvsweb-markup)

pgsql-committers by date

Next:From: James William PyeDate: 2007-11-08 18:58:46
Subject: python - pq: Bump version and update tests.
Previous:From: James William PyeDate: 2007-11-08 18:25:34
Subject: python - pq: Add the 'Queue' class for managing protocol transactions.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group