python - pq: Fix error handling in Query and Function.

Поиск
Список
Период
Сортировка
От jwp@pgfoundry.org (James William Pye)
Тема python - pq: Fix error handling in Query and Function.
Дата
Msg-id 20060219061226.DDEBC103380D@pgfoundry.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Fix error handling in Query and Function.

The transactions, specifically Query, were propagating the state to a
non-existing method. The problem here is that that raised a Transaction
exception that made the interface(proboscis) think that it was an unhandled
exception/error. That was a problem as Query and Function were meant to "handle"
their error message and following autosync Ready message.

Also, make some protocol exceptions more descriptive.

Modified Files:
--------------
    pq/src:
        client3.py (r1.15 -> r1.16)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/client3.py.diff?r1=1.15&r2=1.16)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Modify logtape.c so that the initial LogicalTapeSetCreate call
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Update obsolete comment.