Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

There was a problem

You must be a member of this account.

Piotr Czachur's latest activity

Wednesday, February 01 2012
96 "pgcode" should be present in exception.args was updated in psycopg
  • Piotr Czachur
    Piotr Czachur commented at 1:08 PM

    After some thoughts, I agree that enhancment it would provide would be supressed by backward incompatibilitiy issues, so leaving it as it is, is the best choice...

Monday, January 30 2012
96 "pgcode" should be present in exception.args was updated in psycopg
  • Piotr Czachur
    Piotr Czachur commented at 6:06 PM

    Daniele,

    Pros:
    * When you log exception, you see also pgcode, which may be important (error messages can change, while pgcode should remain unchanged (user's st...

Friday, January 27 2012
96 "pgcode" should be present in exception.args was created in psycopg
  • Piotr Czachur
    Piotr Czachur created the ticket at 10:31 AM

    Now only exception message is present in exception.args.
    It would be handy if pgcode was passed to Psycopg2 exception constructor, so it would be available in e...