Bruce has just added a new todo item.
- Allow EXPLAIN output to be more easily processed by scripts
I think the well-formed xml is a better format to express the tree structure of the explain output. I don't know xml can be processed easily by *scripts*, but it is easy for the utility programs using xml processing libraries. And xml elements can have many attributes which can be used to hold rows, cost and time parameters.
To switch between the human-readable format and xml format, we need another guc option; 'set explain_format = text' (of course, this is a default) and 'set explain_format = xml'.
I guess this is a good solution to provide explain information for the query utilities around PostgreSQL.
Monday, April 10, 2006
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment