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

Saturday, November 24 2012
140 GIL Release in copy_from? was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to resolved
    by Daniele Varrazzo at 10:57 PM

    I've committed a patch for PQgetResult after copy. The other uses of the function shouldn't need it (the most important one is in async code, and by that we sho...

Friday, November 23 2012
140 GIL Release in copy_from? was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 9:34 PM

    Looking at the traceback again, the library is probably not blocked in IO but just locked in the poll waiting for the result to arrive. I think we can just wrap...

  • Daniele Varrazzo
    Daniele Varrazzo commented at 7:04 PM

    Hello Walt,

    it is surprising PQgetResult blocks during copy: the IO intensive part of the copy should be performed by PQputCopyData, which releases the gil. How...

Thursday, November 15 2012
139 Installation Error of Psycopg2 on windows 7 was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 4:35 PM

    I've asked Jason to take a look at your case, but if it is possible, I'd suggest you to uninstall all the Python installation instances from your machine and tr...

  • Daniele Varrazzo
    Daniele Varrazzo commented at 1:46 PM

    psycopg is not to be invoked: it's not a program, it's a library.

    For me it just sounds like a screwed up Python installation. I'll ask Jason to take a look at ...

  • Daniele Varrazzo
    Daniele Varrazzo commented at 12:31 PM

    Hi, not getting your config. Win7 64 bit and you have Python 2.7 32 bit installed. Are you trying to install Psycopg 32 or 64 bit? I assume it must be 32 but it...

Monday, November 12 2012
138 Doc: connection, replace "session" with "connection" was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to invalid
    • Tag set to documentation
    by Daniele Varrazzo at 1:45 AM

    Hello, thank you very much for the review.

    I don't agree with many of the objections raised, except two errors I've fixed in this commit. The usage of "session...

Friday, November 02 2012
137 distinguish the capital letters and the small letters was updated in psycopg
Saturday, October 27 2012
136 Equality does not work for psycopg2._psycopg.datetime objects. was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to invalid
    by Daniele Varrazzo at 12:43 PM

    From the documentation, which is copied from the dbapi

    psycopg2.DateFromTicks(ticks)
      This function constructs an object holding a date value from the given t...
54 [Feature Request] Add support for a pgpass connect parameter was updated in psycopg