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

Поиск
Список
Период
Сортировка
От jwp@pgfoundry.org (James William Pye)
Тема python - ex: Add code specific classes and generalize IntegrityError.
Дата
Msg-id 20050720234545.A69986B980D@pgfoundry.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: jwp@pgfoundry.org (James William Pye)
Дата:
Сообщение: python - ex: Use 'Py' instead of 'PY' for the Python code class as it
Следующее
От: tgl@svr1.postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Fix breakage of INSTALL document build.