]> granicus.if.org Git - postgresql/commit
Extend EXPLAIN to support output in XML or JSON format.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Aug 2009 05:46:50 +0000 (05:46 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 10 Aug 2009 05:46:50 +0000 (05:46 +0000)
commit9bd27b7c9e998087f390774bd0f43916813a2847
treeee2b7fa2b2e77c53c87a53a786163dae1b0e6538
parent18894c401f1f5ec5af1d08a12da1f183599e8560
Extend EXPLAIN to support output in XML or JSON format.

There are probably still some adjustments to be made in the details
of the output, but this gets the basic structure in place.

Robert Haas
12 files changed:
contrib/auto_explain/auto_explain.c
doc/src/sgml/auto-explain.sgml
doc/src/sgml/ref/explain.sgml
src/backend/commands/explain.c
src/backend/commands/prepare.c
src/backend/utils/adt/xml.c
src/backend/utils/cache/lsyscache.c
src/backend/utils/sort/tuplesort.c
src/include/commands/explain.h
src/include/utils/lsyscache.h
src/include/utils/tuplesort.h
src/include/utils/xml.h