On Sun, Feb 7, 2010 at 7:48 PM, Anand Chitipothu <[email protected]>wrote:

> >> > new threads are automatically creating new connections.
> >> > how to make sub-processes  do the same?
> >>
> >> sample code to reproduce it?
> >
> > i am getting this error message in pg_log log directory
> > does this help?
>
> Not really. If you can provide a script to reproduce that error, I can
> try to fix it in web.py.
>

the psycopg2 author says that when using multiprocessing, connections should
not be shared

http://lists.initd.org/pipermail/psycopg/2010-February/006747.html

is there any option so that i can force web.py to create a new connection
for every db query/calls?
thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to