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.

Marti Raudsepp's latest activity

Thursday, October 13 2011
52 Can't adapt type 'Decimal' was updated in psycopg
  • Marti Raudsepp
    Marti Raudsepp commented at 6:03 PM

    Cool. Are there any other built-in adapters we have to worry about?

    Have you checked what PyGreSQL and MySQLdb are doing to solve this problem?

Wednesday, October 12 2011
52 Can't adapt type 'Decimal' was updated in psycopg
  • Marti Raudsepp
    • Tag changed from adapt, decimal to adapt, decimal, django, mod_wsgi
    by Marti Raudsepp at 4:11 PM

    Are you working on a fix for this, or should I give it a shot myself?

    Unfortunately, I think we'll have to live with subinterpreters. Changing the default WSGIA...

Monday, October 10 2011
52 Can't adapt type 'Decimal' was updated in psycopg
  • Marti Raudsepp
    Marti Raudsepp commented at 5:28 PM

    I have traced down the cause and attached a reproducible test case. Please re-open this bug.

    A few weeks ago I was re-reading the mod_wsgi documentation and not...

Wednesday, May 04 2011
52 Can't adapt type 'Decimal' was updated in psycopg
  • Marti Raudsepp
    Marti Raudsepp commented at 3:26 PM

    Interesting. I tried this reload() case with pg8000 and PyGreSQL, both also fail with a similar error.

    Upon closer inspection, turns out that this has only occu...

Tuesday, April 26 2011
52 Can't adapt type 'Decimal' was created in psycopg
  • Marti Raudsepp
    Marti Raudsepp created the ticket at 1:21 PM

    We're using lots of numeric/Decimal types in our database, with a Django/mod_wsgi/Apache frontend, using WSGI daemon mode. Sometimes we spuriously receive "Can'...

Thursday, February 10 2011
40 [PATCH] Add negative infinity support for Python->pg conversion was created in psycopg
  • Marti Raudsepp
    Marti Raudsepp created the ticket at 5:19 PM

    Currently Pyscopg does not properly convert Python float negative infinity to PostgreSQL:

      >>> c.mogrify('SELECT %s', [float('-inf')])
      "SELECT 'Infinity'::f...
Saturday, December 18 2010
24 [PATCH] Don't segfault when PQparameterStatus(DateStyle) returns NULL was updated in psycopg
  • Marti Raudsepp
    Marti Raudsepp commented at 2:50 PM

    What do you mean "will fix"? I posted a patch too.

Thursday, December 09 2010
24 [PATCH] Don't segfault when PQparameterStatus(DateStyle) returns NULL was created in psycopg
  • Marti Raudsepp
    Marti Raudsepp created the ticket at 3:19 PM

    psycopg 2.3.0 and 2.3.1 segfault immediately upon connect to the pgbouncer pooling middleware, because (apparently) pgbouncer does not pass on the DateStyle to ...