postgresql error code

Dražen Odobašić <[email protected]>
Newsgroups gmane.comp.python.db.psycopg.devel
Message-ID <[email protected]>
Is there a way to get postgresql error code when exception occures, i 
did found some reference that psycopg2 is the only one library that has 
this implemented. Still, i have no idea how to accomplish this. Can 
someone help me?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.