|
Re: Re: psycopg removing the first letter of exceptions and errors: msg#00063python.db.psycopg.devel
Il giorno ven, 10/03/2006 alle 16.49 -0300, Jorge Godoy ha scritto: > 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? ;-) Oh, you're right. Anyway, no error here: $ python Python 2.3.5 (#2, Mar 6 2006, 10:12:24) [GCC 4.0.3 20060304 (prerelease) (Debian 4.0.2-10)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import psycopg2 >>> o = psycopg2.connect("dbname=test") >>> c = o.cursor() >>> c.execute("SELECT errortest()") Traceback (most recent call last): File "<stdin>", line 1, in ? psycopg2.ProgrammingError: Just a test Are you running with encodings different from UTF8 and/or lc_messages different from "C"? -- Federico Di Gregorio http://people.initd.org/fog Debian GNU/Linux Developer fog-8fiUuRrzOP0dnm+yROfE0A@xxxxxxxxxxxxxxxx INIT.D Developer fog-NGVKUo/i/6DYtjvyW6yDsg@xxxxxxxxxxxxxxxx Bhoe, bhe, bhe. Sono brutto e cattivo. Brutto lama! -- Cuzco
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: | Re: psycopg removing the first letter of exceptions and errors: 00063, Adrian Klaver |
|---|---|
| Next by Date: | Re: psycopg removing the first letter of exceptions and errors: 00063, Jorge Godoy |
| Previous by Thread: | Re: psycopg removing the first letter of exceptions and errorsi: 00063, Jorge Godoy |
| Next by Thread: | Re: psycopg removing the first letter of exceptions and errors: 00063, Jorge Godoy |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |