Re: Error during "SELECT" using psycopg 2.0.2
Nathan <[email protected]>
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On Feb 16, 2008 10:00 AM, Federico Di Gregorio <fog-NGVKUo/i/[email protected]> wrote: > Are you using one connection per thread? Also, before going on make sure > to use an up to date psycopg, like 2.0.6. Each thread shares a common db connection, but creates its own cursor. As psycopg2.threadsafety == 2, that's supposed to be acceptable according to: http://www.python.org/dev/peps/pep-0249/ If the threadsafety level is not really 2, please let me know. 2.0.6? According to the psycopg project page, 2.0.2 _IS_ the latest version (???) See http://www.initd.org/tracker/psycopg ... Am I looking in the wrong place? ~ Nathan