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 13 2010
14 [PATCH] Use pthread_self() instead of getpid() in Dprintf was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to invalid
    • Tag set to patch debug
    by Daniele Varrazzo at 3:06 AM

    Thank you, but I am reluctant to apply this patch because:
    1. it doesn't work on Windows: pthread_self must be #defined to GetCurrentThreadId. I don't know abou...

Thursday, November 11 2010
6 _PQBackendPID error on Mac OS X SL was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to invalid
    by Daniele Varrazzo at 11:59 AM

    Closing this ticket as it's not a bug. Please use this article as a reference: we can continue the discussion there as it is a more visible place.

9 reversed order of db notices was updated in psycopg
  • Daniele Varrazzo
    • State changed from open to resolved
    • Milestone set to release-2.3.0
    by Daniele Varrazzo at 11:56 AM

    Fixed in my branch, thank you.

7 sefault on mogrify with a Decimal was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 1:01 AM

    The bug is fixed in the current repository. It only affects Python 2.5.0 and 2.5.1.

    If you want to test on windows, you can use this unofficial build for windo...

Tuesday, November 09 2010
11 Tests not runnable from the sdist. was created in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo created the ticket at 2:37 PM

    The sdist doesn't include Makefile and runtests.py.

    The two are probably too broken to be useful anyway, so eventually just document how to set up a testing env...

9 reversed order of db notices was updated in psycopg
  • Daniele Varrazzo
    Daniele Varrazzo commented at 12:39 PM

    Uhm, I mixed notices and notifies: I think they both have the same efficiency problem.

    The temporary notice_pending can definitely be fixed, thank you for the r...

  • Daniele Varrazzo
    • State changed from new to open
    by Daniele Varrazzo at 12:01 PM

    You are right, and using conn.notifies.pop(0) (or insert(0) when adding items) is inefficient. Probably we should use collections.deque and appendleft() on our ...

10 pointless string manipulation in NamedTupleCursor was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to resolved
    by Daniele Varrazzo at 11:18 AM

    You are right, fixed in my repository.

6 _PQBackendPID error on Mac OS X SL was updated in psycopg
5 Adaptation doesn't respect Liskov invariance was updated in psycopg
  • Daniele Varrazzo
    • State changed from new to resolved
    • Milestone set to release-2.3.0
    • Milestone order changed from 2 to 0
    by Daniele Varrazzo at 12:40 AM

    Feature implemented. Not released in 2.3.0-beta1, but it should in the next release.