python - pq: Fix error handling in Query and Function. - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - pq: Fix error handling in Query and Function.
Date
Msg-id 20060219061226.DDEBC103380D@pgfoundry.org
Whole thread Raw
List 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 by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Modify logtape.c so that the initial LogicalTapeSetCreate call
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Update obsolete comment.