logo       

Re: psycopg removing the first letter of exceptions and errors: msg#00059

python.db.psycopg.devel

Subject: Re: psycopg removing the first letter of exceptions and errors

Il giorno ven, 10/03/2006 alle 15.57 -0300, Jorge Godoy ha scritto:
> Hi!
>
> I dunno if this is known or if there's some ticket about it, but is there
> something that can be done to avoid psycopg from "eating" the first letter of
> exceptions and errors from the database?
>
> For example, if I have some trigger or function doing
>
> raise "Error message"

Ehrm.. my PostgreSQL 8.1.3 does not have a "raise" command. And if that
"raise" is the Pythonic one I don't see how can psycopg eat the first
letter of something that happens entirely outside of the driver.

federico

--
Federico Di Gregorio http://people.initd.org/fog
Debian GNU/Linux Developer
fog-8fiUuRrzOP0dnm+yROfE0A@xxxxxxxxxxxxxxxx
INIT.D Developer
fog-NGVKUo/i/6DYtjvyW6yDsg@xxxxxxxxxxxxxxxx
Those who do not study Lisp are doomed to reimplement it. Poorly.
-- from Karl M. Hegbloom .signature

Attachment: signature.asc
Description: Questa parte del messaggio =?ISO-8859-1?Q?=E8?= firmata

_______________________________________________
Psycopg mailing list
Psycopg-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx
http://lists.initd.org/mailman/listinfo/psycopg
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise