Stephen R. van den Berg wrote:
This is the patch in question, it is simple, reduces latency *a lot* (and improves pgsql.pike performance by a factor of 2 or so; I could imagine the boost is similar in other I/O-type of applications):
I have to correct myself. Apparently my refactoring of the pgsql driver made the difference less.
I.e. without the patch there is an 80% chance of being 22% slower, and a 20% chance of having roughly the same performance. With or without the patch, the pgsql driver still beats the old postgres driver by a landslide.