Re: psycopg2 multiprocessing problem
Menno Smits <menno-jZ/TYErj1jVWk0Htik3J/[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Feb 08, 2010 at 07:57:45AM -0800, kevin wrote: > > is there any option that i can use to ensure new connection is created for > new processes? or how do i manually create new connection for new processes? > thanks a lot You need to do this manually, by structuring your program so that connections are opened inside each process that needs them. Menno