python - pq: Remove superfluous fatality state.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - pq: Remove superfluous fatality state.
Date: 2005-08-10 21:13:32
Message-ID: 20050810211332.240A01125F65@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Remove superfluous fatality state. Failed covers this area well enough.
However, compensate a bit for the removal by adding a 'fatal' property to
client3.Transaction that identifies failed transactions that got an error
message with a severity of 'FATAL'.

Note, even 'failed' could probably be removed as the success of the operation is
pretty much dependent on the existence of the 'exc_info' or 'error' attribute.

Modified Files:
--------------
pq/src:
client3.py (r1.3 -> r1.4)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/client3.py.diff?r1=1.3&r2=1.4)
transam.py (r1.2 -> r1.3)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/pq/src/transam.py.diff?r1=1.2&r2=1.3)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2005-08-10 21:36:47 pgsql: Add hints to cases where indexes fail because of values that are
Previous Message User Nitin 2005-08-10 20:27:38 bizgres - bizgres: added $BIZHOME