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, September 09 2011
69 PQescapeByteaConn does not escape backslashes on postgres 9.1 server was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 10:31 AM

    From the samples you posted, it looks psycopg is behaving as expected. What is in between your django program and psycopg?

    Are you using django's PostGIS adapte...

Thursday, September 08 2011
68 copy_from ValueError "column list to long" was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 1:52 PM

    Does it mean the sum of the length of the column names is more than 8k chars? How long is that?

    Probably the author thought it would have been a safe limit... W...

69 PQescapeByteaConn does not escape backslashes on postgres 9.1 server was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 1:46 PM

    The difference in the output of PQescapeByteaConn is due to the standard_conforming_string setting: it is on by default in PG 9.1.

    The difference is taken into ...

Thursday, September 01 2011
12 [PATCH] Add isolation level for BEGIN READ ONLY was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 4:00 PM

    Hi JBQ,

    Psycopg 2.4.2 has the new set_session() method that allows you to have read only transactions. Internally it uses set default_*. See http://initd.org/p...

Monday, August 22 2011
66 Array of composite/hstore type was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to open
    • Tag set to array, hstore
    by Daniele Varrazzo at 3:48 PM

    Array of hstores are not supported yet. Shouldn't be terribly hard to introduce them though.

    Do you want to give it a try? Otherwise I could try to make it, but...

Tuesday, August 09 2011
62 Need a way to remove 'bad' connections from a connection pool was updated in psycopg
  • Daniele Varrazzo
    • State changed from open to resolved
    by Daniele Varrazzo at 10:39 AM

    The pool now is able to watch for the connection returned, caring to rolling back an eventual open connection or to dispose broken ones.

64 setup.py static_libpq=1 doesn't quite work was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to resolved
    by Daniele Varrazzo at 10:36 AM

    Fixed, thank you for the report.

65 NamedTupleCursor.executemany omits query parameter was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to resolved
    by Daniele Varrazzo at 10:30 AM

    Oops... fixed. Thank you for the report.

Sunday, July 24 2011
63 small documentation bug was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to resolved
    by Daniele Varrazzo at 8:02 PM

    Fixed, thanks.

Friday, July 01 2011
62 Need a way to remove 'bad' connections from a connection pool was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 10:52 AM

    Yes, what you propose is a robust way to get a connection from the pool guarding from a server disconnection. I don't want to add a probe query into the pool co...