Lance Dillon wrote:
I will have to tell you that I'm pleased with this. I use postgresql myself for any of my home projects, so a new and better pg driver is welcome.
Made a few more leaps. I'm now at 65% relative to the old postgres driver, for the small testcase I'm using. The question is of course, how far to go. I'm currently testing the queries raw, no processing afterward, just discarding the resultarrays. As soon as you try to do anything useful with them, the amount of Pike overheads from the query drops close to zero. For wide strings/binary queries, my new driver is faster already, BTW.
Any objections if I check in what I have on 7.7? It does not touch anything outside my pgsql driver (it creates a supporting cmod called PGsql).