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.

Federico Di Gregorio's latest activity

Wednesday, May 23 2012
109 Cannot build without pg_config was updated in psycopg
Tuesday, May 22 2012
109 Cannot build without pg_config was updated in psycopg
  • Federico Di Gregorio
    Federico Di Gregorio commented at 3:58 PM

    Yes, we should remove it before next release and replace it with an explanation text.

  • Federico Di Gregorio
    Federico Di Gregorio commented at 8:28 AM

    I agree with Daniele. The old setup that didn't use pg_config was a mess of ifs, even if the number of versions it had to cope with was way smaller. My line her...

110 Possible multithreading problem in psycopg2. was updated in psycopg
  • Federico Di Gregorio
    Federico Di Gregorio commented at 3:56 PM

    I'd avoid switching to malloc() because, at least in theory, PyMem_Malloc tells the interpreter how much memory pressure we're putting on it and that's a Good T...

Thursday, January 12 2012
90 psycopg exceptions cannot be pickled was updated in psycopg
Wednesday, January 11 2012
90 psycopg exceptions cannot be pickled was updated in psycopg
  • Federico Di Gregorio
    Federico Di Gregorio commented at 1:39 PM

    They are because when the exception propagates up the call stack you may want to issue a ROLLBACK from a piece of code that doesn't have an easy way to obtain t...

Friday, November 04 2011
73 create = False was updated in psycopg
  • Federico Di Gregorio
    Federico Di Gregorio commented at 9:37 AM

    Yuri, you're right and your patch is OK. I'll include it for 2.4.3.

Tuesday, October 25 2011
73 create = False was updated in psycopg
  • Federico Di Gregorio
    Federico Di Gregorio commented at 12:30 PM

    "create" isn't used at all in that method. What do you mean by "impossible to roll back with Zope". Can you make an example?

Friday, October 14 2011
52 Can't adapt type 'Decimal' was updated in psycopg
  • Federico Di Gregorio
    Federico Di Gregorio commented at 7:19 AM

    I'd vote for moving the Decimal adapter registration to Python.
    Nobody uses the C module alone anyway.

Thursday, September 08 2011
69 PQescapeByteaConn does not escape backslashes on postgres 9.1 server was updated in psycopg
  • Federico Di Gregorio
    Federico Di Gregorio commented at 1:12 PM

    Can you provide us with a minimalist python program that expose the problem?