logo       

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

python.db.psycopg.devel

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

Federico Di Gregorio <fog-NGVKUo/i/6DYtjvyW6yDsg@xxxxxxxxxxxxxxxx> writes:

> Ehrm.. my PostgreSQL 8.1.3 does not have a "raise" command. And if that

Not even inside functions? ;-)

http://www.postgresql.org/docs/8.1/static/plpgsql-errors-and-messages.html

> "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.

It is at database level.


--
Jorge Godoy <godoy-EkmVulN54Sk@xxxxxxxxxxxxxxxx>

"Quidquid latine dictum sit, altum sonatur."
- Qualquer coisa dita em latim soa profundo.
- Anything said in Latin sounds smart.

Attachment: pgpIHA1Lhzopt.pgp
Description: PGP signature

_______________________________________________
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