python - fe: Close connection on fatal errors.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - fe: Close connection on fatal errors.
Date: 2006-08-07 06:29:12
Message-ID: 20060807062912.C5A9986C65E@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Close connection on fatal errors.

ProtocolError's and transam.Error's indicate an problem with state
transitioning. In such a situation, it is best to simply close the connection as
either a programming error (pqueue bug), a server error, or a
communication error occurred.

Modified Files:
--------------
fe/src:
tracenull.py (r1.28 -> r1.29)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/fe/src/tracenull.py.diff?r1=1.28&r2=1.29)

Browse pgsql-committers by date

  From Date Subject
Next Message James William Pye 2006-08-07 06:36:18 python - ip: Set GTX as a builtin instead of filling it in as a local.
Previous Message James William Pye 2006-08-07 01:54:11 python - ip: Add AbortTransaction exception to abstract module.