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

Поиск
Список
Период
Сортировка
От jwp@pgfoundry.org (James William Pye)
Тема python - pq: Remove the Block interface and fix bugs in Passive.
Дата
Msg-id 20071108185804.453D2216D0E@pgfoundry.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: jwp@pgfoundry.org (James William Pye)
Дата:
Сообщение: python - pq: Add the 'Queue' class for managing protocol transactions.
Следующее
От: jwp@pgfoundry.org (James William Pye)
Дата:
Сообщение: python - pq: Bump version and update tests.