WIP: log query in auto-explain

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2009-11-22T19:57:16Z
Lists: pgsql-hackers

Attachments

I put the attached together a while ago and neglected to send it. 
Basically it includes the text of the query being explained in the 
explain output.

I think it's more important to include the query text when using 
auto_explain than in other explain uses, which is why I did it this way. 
But I could be persuaded that we should always include it.

Thoughts? Comments?

cheers

andrew