> 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 single bit (apart from increasing the max identifier name length way back by changing some #define, iirc), I don't really think I'm the right person to do it. :) /Mikael