On Fri, Sep 13, 2013 at 11:40:09AM -0300, Francisco Chiotta <firstname.lastname@example.org> wrote:The patch is attached. The code and error string are available:
> It would be great. Sure, I can test the results.
except OperationalError, e:
Doesn't work for me, though -- pgcode/pgerror are always None.
Perhaps I'm using old version of psycopg2 -- 2.4.5.