Assorted minor refactoring in EXPLAIN.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8af12bca3b19305e9219ce9c8230ed8003b870f6
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-07-24T21:08:42Z
Releases: 9.0.0
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

Files

PathChange+/−
src/backend/commands/explain.c modified +261 −423
src/backend/lib/stringinfo.c modified +21 −1
src/backend/utils/adt/ruleutils.c modified +1 −12
src/include/lib/stringinfo.h modified +7 −1