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.

Daniele Varrazzo's latest activity

Tuesday, August 26 2014
201 Python freezed binary cannot use psycopg.so was updated in psycopg
  • Daniele Varrazzo
    • State changed from open to resolved
    by Daniele Varrazzo at 4:05 PM

    Hi Christian,

    I consider the refactoring I've made to _psycopg.so generally useful and I've tested it more yesterday. If there is no surprise from the test grid...

Monday, August 25 2014
201 Python freezed binary cannot use psycopg.so was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 10:44 PM

    Christian, I've taken a look at your problem.

    Freeze cannot freeze psycopg just because it cannot work with C extension. This should be enough to rule out what ...

  • Daniele Varrazzo
    Daniele Varrazzo edited a comment at 10:44 PM

    Christian, I've taken a look at your problem.

    Freeze cannot freeze psycopg just because it cannot work with C extension. This should be enough to rule out what ...

Friday, August 22 2014
231 I have bug with array of composite types was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 4:56 PM

    In this case you should create your data as a specific python type, it cannot be a generic tuple, and register a typecaster for it. For instance:

    Comp = namedt...
  • Daniele Varrazzo
    • State changed from new to invalid
    • Tag changed from compositetype, rel-2.5.3 to compositetype, question, rel-2.5.3
    by Daniele Varrazzo at 1:05 PM

    Try adding an explicit cast after your placeholder specifying that the type you are passing is an array of test_comp_type. This should work:

    cur.execute("INSER...
171 Move out of Lighhouse was updated in psycopg
Thursday, August 21 2014
230 install via Python Wheels was updated in psycopg
psycopg2 2.5.3 was updated by Daniele Varrazzo in psycopg at 5:11 AM
 
0 of 6 tickets remain in this milestone
229 Cursors WITH HOLD can work in autocommit was created in psycopg
228 WITH HOLD cursors open a new transaction upon move/fetch/close was created in psycopg