|
Re: psycopg removing the first letter of exceptions and errors: msg#00059python.db.psycopg.devel
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
Psycopg mailing list Psycopg-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx http://lists.initd.org/mailman/listinfo/psycopg |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | psycopg removing the first letter of exceptions and errors: 00059, Jorge Godoy |
|---|---|
| Next by Date: | Re: psycopg removing the first letter of exceptions and errors: 00059, Jorge Godoy |
| Previous by Thread: | psycopg removing the first letter of exceptions and errorsi: 00059, Jorge Godoy |
| Next by Thread: | Re: psycopg removing the first letter of exceptions and errors: 00059, Jorge Godoy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |