Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group