The PostgreSQL doco says "Applications that need to know which error condition has occurred should usually test the error code, rather than looking at the textual error message."

Is it possible to check the error code (SQLSTATE) with PyGreSQL? If not, how difficult is it to implement this?

-- Christoph
_______________________________________________
PyGreSQL mailing list
[email protected]
http://mailman.vex.net/mailman/listinfo/pygresql

Reply via email to