> In short, a C extension module may cache data from one sub interpreter
> and then use it in the context of a different sub interpreter causing
> incorrect or errornous behaviour. The problem with Decimal support in
> pyscopg falls into this category. It is entirely possible that the OP
> may have been hitting a similar obscure problem in the database
> adapter being used.
>
> The only real way to ensure that such a problem isn't encountered is
> to use mod_fastcgi or mod_wsgi daemon mode. In both these hosting
> solutions for Apache the Django instance can be run in a distinct
> process and thus one doesn't encounter issues with C extension modules
> that aren't written to work with multiple sub interpreters properly.
>
> Graham

Yep, that sounds like it!
That raises some questions as to the recommended apache setup. At
least I know a workaround, for now, but I will be watching the psycopg
wiki closely.

Thank you very much for pointing this out - I was a bit lost there and
only knew something was fishy.
 -rob


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to