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

Friday, February 24 2012
101 inet array not casted to list was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 11:26 AM

    (ops)

    was saying: register_array() seems a better option. We can have a chat on the ML about this functionality (it could take an oid, or none meaning all the o...

  • Daniele Varrazzo
    Daniele Varrazzo commented at 11:23 AM

    > Duncan Burke updated this ticket at February 24th, 2012 @ 10:29 AM

    > In the meantime, I took a look at the type system, and it seems quite feasible to fix thi...

  • Daniele Varrazzo
    • State changed from new to resolved
    by Daniele Varrazzo at 12:35 AM

    Nevermind, all done.

    fixed register_inet() and added plenty of documentation about creating a generic typecaster.

103 Psycopg2 concurrency issue was updated in psycopg
  • Daniele Varrazzo
    • State changed from hold to resolved
    by Daniele Varrazzo at 3:31 AM

    I've looked into the problem. The issue has been mostly fixed in 2.4.2: it has gone mostly because SET ISOLATION LEVEL is not used anymore. However, a concurren...

Thursday, February 23 2012
100 cursor rownumber fails was updated in psycopg
101 inet array not casted to list was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 12:09 AM

    Hi Duncan, thank you for the patch.

    Unfortunately the behaviour you report is common to any unknown data type, for instance:

    >>> cur.execute("select array['<hi...
Wednesday, February 22 2012
102 cursor is not compatible with the with statement was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to hold
    by Daniele Varrazzo at 11:07 PM

    Ticket put on hold: I don't want to add with support until the DB-SIG decides what should be its semantic. I'm not so worried about the cursor: more about the c...

  • Daniele Varrazzo
    Daniele Varrazzo commented at 10:33 PM

    Nobody has ever said it was.

103 Psycopg2 concurrency issue was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to hold
    by Daniele Varrazzo at 11:03 PM

    Strange race condition. However, more recent psycopg versions do without "set transaction isolation level".

    What you report is strange, because these versions u...