I am writing a tutorial to DBTechNet group on data access APIs of programming/scripting languages accessing the mainstream databases. On Python I selected PyGreSQL as the driver and in my mind the pgdb module Python Dtabase API 2.0 is well documented. However I have not been able to figure out how to catch exception on except line and how to read the SQLSTATE and error message information in the Classic PyGreSQL module pg.
Looking forward to your help
_______________________________________________ PyGreSQL mailing list [email protected] https://mail.vex.net/mailman/listinfo.cgi/pygresql
