Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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)

pgsql-committers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group