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)
commit49d79c0d4058caf2feda2c9b7d80f4374201558b
treeaa2fdf1b56cbd549134c058040778f771190c148
parent27618a6073a94338bf572eb96086b84949cfde50
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