Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> I wasn't terribly concerned because this wasn't a 2% on normal workload
> test, it was a 2% bang on function calls as fast as you can test.
No, it was a 2% hit on rather slow functions with only one call made
per query issued by the client. This is not much of a stress test.
A more impressive comparison would be
select 2+2+2+2+2+2+ ... (iterate 10000 times or so)
and see how much that slows down.
regards, tom lane