1 Jan 2007 22:46
Re: sqlstate code
Il giorno gio, 28/12/2006 alle 17.38 +0100, Oswaldo Hernández ha scritto: > > How i can get the sqlstate code when an error is raised? Use the .pgcode attribute of the exception. federico -- -- Federico Di Gregorio http://people.initd.org/fog Debian GNU/Linux Developer fog@... INIT.D Developer fog@... Io la coscienza l'ho cagata da piccolo. -- Natale Titotto
_______________________________________________ Psycopg mailing list Psycopg@... http://lists.initd.org/mailman/listinfo/psycopg
RSS Feed