python - ex: Add code specific classes and generalize IntegrityError. - Mailing list pgsql-committers

From jwp@pgfoundry.org (James William Pye)
Subject python - ex: Add code specific classes and generalize IntegrityError.
Date
Msg-id 20050720234545.A69986B980D@pgfoundry.org
Whole thread Raw
List 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)

pgsql-committers by date:

Previous
From: jwp@pgfoundry.org (James William Pye)
Date:
Subject: python - ex: Use 'Py' instead of 'PY' for the Python code class as it
Next
From: tgl@svr1.postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix breakage of INSTALL document build.