Re: contrib: hack for psycopg2 performance
"P. Christeas" <[email protected]> Thu, 13 May 2010 15:45:17 +0300
| Newsgroups | gmane.comp.python.db.psycopg.devel |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday 11 May 2010, you wrote: > On Mon, May 10, 2010 at 6:45 PM, P. Christeas <[email protected]> wrote: > > One main idea is to effectively replace PQExec() with PQExecParams() and > > then avoid most of this quoting, casting etc. > > PQexecParams has the shortcoming of being able to send only a query at > time, whereas PQexec allows to send any number in a single string, > separated by semicolons. Many people use this feature and dropping it > would be an incompatible change. How would you work around that? > I notice that the amount of discussion on this list almost reaches the amount of code that would make psycopg perfect for everybody.. Please, can you allow me some time to /test/ the alternative idea, and see if it can really work? (pass the tests, be generic enough to replace current psycopg methods) In the meanwhile, my commits are public, anyway. Of course, I have taken into consideration all those points mentioned in the discussion, you have given me some important hints. -- Say NO to spam and viruses. Stop using Microsoft Windows!