Re: postgresql error code
Dražen Odobašić <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
James Henstridge wrote: > There is a pgcode attribute on the exceptions returned by psycopg2 > which holds the SQLSTATE error code documented in the PostgreSQL > documentation. Thank you, pgcode attribute is what i was missing. Is this documented ? I could not find it anywhere...