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

From: jwp(at)pgfoundry(dot)org (User Jwp)
To: pgsql-committers(at)postgresql(dot)org
Subject: python - be: Raise Postgres.Errors as what they are defined to be,
Date: 2005-04-09 01:24:57
Message-ID: 20050409012457.3FC021FB621E@pgfoundry.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2005-04-09 03:52:23 Re: [COMMITTERS] pgsql: Adjust SGML ulink tags to the URL is always
Previous Message User Jwp 2005-04-09 01:07:44 python - be: Don't continue to fill in the error if errstart returns