> Sure, but it still means installing an external tool, which requires
> PHP, which isn't trivial to install in it's own right. And afaik there's
> still no way to find out how much IO each query did, how much CPU was
> spent, if any sorts overflowed, etc., etc.
Exactly my point, and thus the reason why I'd like to see such functionality implemented. Since I haven't hacked Pg one
singlebit (apart from increasing the max identifier name length way back by changing some #define, iirc), I don't
reallythink I'm the right person to do it. :)
/Mikael