Assorted minor refactoring in EXPLAIN.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 24 Jul 2009 21:08:42 +0000 (21:08 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 24 Jul 2009 21:08:42 +0000 (21:08 +0000)
commita82304c098678c4c335a1713a01fe63487df684c
tree87682e90c7b1a85800c7f886b53e3af8ecc47367
parente1446b6c81308932f42675e7e36c3174e13f006b
Assorted minor refactoring in EXPLAIN.

This is believed to not change the output at all, with one known exception:
"Subquery Scan foo" becomes "Subquery Scan on foo".  (We can fix that if
anyone complains, but it would be a wart, because the old code was clearly
inconsistent.)  The main intention is to remove duplicate coding and
provide a cleaner base for subsequent EXPLAIN patching.

Robert Haas
src/backend/commands/explain.c
src/backend/lib/stringinfo.c
src/backend/utils/adt/ruleutils.c
src/include/lib/stringinfo.h