python - be: Raise Postgres.Errors as what they are defined to be,

Поиск
Список
Период
Сортировка
От jwp@pgfoundry.org (User Jwp)
Тема python - be: Raise Postgres.Errors as what they are defined to be,
Дата
Msg-id 20050409012457.3FC021FB621E@pgfoundry.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Raise Postgres.Errors as what they are defined to be, rather than raising it as
a "Python exception occurred" with all the information in the DETAILs.
Make the exception conversion function use the current Python exception, rather
than passing in the exception variables.
Rename some static globals and make a convenient macro to initialize them.
(No need to worry about cleaning up, if these fail, it's fatal.)

Modified Files:
--------------
    be/src:
        pl.c (r1.3 -> r1.4)
        (http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/python/be/src/pl.c.diff?r1=1.3&r2=1.4)

В списке pgsql-committers по дате отправления:

Предыдущее
От: jwp@pgfoundry.org (User Jwp)
Дата:
Сообщение: python - be: Don't continue to fill in the error if errstart returns
Следующее
От: momjian@svr1.postgresql.org (Bruce Momjian)
Дата:
Сообщение: pgsql: We don't put URL's in ulink's because the URL is always