python - ex: Add code specific classes and generalize IntegrityError.

From: jwp(at)pgfoundry(dot)org (James William Pye)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - ex: Add code specific classes and generalize IntegrityError.
Date: 2005-07-20 23:45:45
Message-ID: 20050720234545.A69986B980D@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Add code specific classes and generalize IntegrityError.
Add Undefined* and Duplicate* code specific exceptions. These are likely to be
fairly common, so provide use convenience by giving code specific exceptions.

IntegrityError has become an abstract exception; ICV code class is now bound to
the ICVError exception, which inherits from IntegrityError.

Other minor changes.

Modified Files:
--------------
ex/src:
prime.py (r1.6 -> r1.7)
(http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/ex/src/prime.py.diff?r1=1.6&r2=1.7)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2005-07-20 23:57:46 pgsql: Fix breakage of INSTALL document build.
Previous Message James William Pye 2005-07-20 23:45:19 python - ex: Use 'Py' instead of 'PY' for the Python code class as it