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

Monday, July 15 2013
171 Move out of Lighhouse was updated in psycopg
  • Federico Di Gregorio
    Federico Di Gregorio commented at 8:54 AM

    We can transfer the bugs from Lighthouse to GitHub and just forget about the numbers. If possible we could add a final comment to every lighthouse bug with a li...

Wednesday, September 26 2012
131 connection_factory ignored was updated in psycopg
  • Federico Di Gregorio
    Federico Di Gregorio commented at 11:49 AM

    Seems fine to me.

  • Federico Di Gregorio
    Federico Di Gregorio commented at 7:15 AM

    Patch is fine, IMHO. Historically the swallowing was a bug and even if we break compatility on this the user already has a broken DSN (kwargs or not). So fixing...

Wednesday, September 19 2012
126 Possible bug in cursor iterator was updated in psycopg
  • Federico Di Gregorio
    Federico Di Gregorio commented at 3:46 PM

    It could be a bug but without the full script it's difficult to tell. Can you post it instead of just copy and pasting some lines, please?

Tuesday, September 18 2012
125 Pool broken for zope was updated in psycopg
  • Federico Di Gregorio
    Federico Di Gregorio commented at 12:18 PM

    Zope has its own transaction management: like any sensible web framework the transaction is rolled back on errors, and commited just before sending the HTTP res...

Friday, August 17 2012
119 psycopg2-2.4.5 - and PostgreSQL 9.1.4, cannot get libpq.so.5 linked in was updated in psycopg
  • Federico Di Gregorio
    Federico Di Gregorio commented at 1:10 PM

    You're getting it wrong. Let me try to explain. Under Linux (and Solaris I guess) you can do dynamic or static linking. Static linking means including a version...

  • Federico Di Gregorio
    Federico Di Gregorio commented at 11:50 AM

    setup.py is linking in libpq. What you want is to embed a statically linked version of libpq into the _psycopg.so module. You can try to pass the --static-libpq...

  • Federico Di Gregorio
    • State changed from new to invalid
    by Federico Di Gregorio at 7:28 AM

    Build-time linking and run-time linking are different things. This is how run-time (dynamic) linking works: you need to put the libpq library into one of the de...

120 typecast_array.c tests size_t against <0 was updated in psycopg
  • Federico Di Gregorio
    • State changed from open to resolved
    • Assigned user set to Federico Di Gregorio
    by Federico Di Gregorio at 12:55 PM

    This is better:

    if (stack_index == 0)
        return -1;
    array = stack[--stack_index];
    

    and should fix the warning.

  • Federico Di Gregorio
    • State changed from new to open
    by Federico Di Gregorio at 11:58 AM

    The warning is correct but using <= instead of < would break array parsing. That test is a guard to avoid the (impossible?) case of receiving more ASCAN_END tha...