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.

Daniele Varrazzo's latest activity

Wednesday, January 11 2012
90 psycopg exceptions cannot be pickled was updated in psycopg
  • Daniele Varrazzo
    • State changed from invalid to open
    by Daniele Varrazzo at 1:33 PM

    Uhm... reading back, I see what you mean. Sorry, I see now you just want to pickle the exception.

    I think it can be done if the cursor is dropped from it. Will ...

  • Daniele Varrazzo
    • State changed from new to invalid
    by Daniele Varrazzo at 1:08 PM

    It's not possible to pickle a connection nor a cursor because the connection wraps an open socket, which has a state that can't be pickled. It's not just a prob...

Tuesday, January 10 2012
88 Use lo_creat() when possible instead of lo_create() was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to resolved
    by Daniele Varrazzo at 9:58 PM

    Patch merged, thanks.

  • Daniele Varrazzo
    Daniele Varrazzo commented at 12:47 AM

    Hi Giovanni,

    would you mind raising the question to the mailing list? It will get a much wider attention, including pgpool developers and people who know better...

89 Feature: add an "execute()" method on the Connection object was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to invalid
    by Daniele Varrazzo at 8:23 PM

    No, I don't think it is a good idea: it saves you a single line of code (which is not the design guideline of python systems) at the expense of writing code tha...

release-2.3.1 was updated by Daniele Varrazzo in psycopg at 2:11 AM
 
0 of 1 tickets remain in this milestone
python3 was updated by Daniele Varrazzo in psycopg at 2:10 AM
 
0 of 2 tickets remain in this milestone
85 Row type is not the expected one, depending on the used factory connection was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to invalid
    by Daniele Varrazzo at 2:10 AM

    cursor.next() is not part of the public interface, but an implementation detail: the cursor is iterable (you can call iter() on it), the fact it is also an iter...

86 KeyError on psycopg2.extras.register_hstore() was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to hold
    by Daniele Varrazzo at 1:48 AM

    As it says on the tin, RealDictCursor is "extremely specialized and does not allow the normal access (using integer indices) to fetched data". It basically viol...

84 cursor.fetchmany() requires the "size" argument instead of using curs.arraysize was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to resolved
    by Daniele Varrazzo at 1:35 AM

    Thank you for reporting. Fixed in my devel branch.