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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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)

Browse pgsql-committers by date

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