]> granicus.if.org Git - postgresql/commit
Small improvements to OPTIMIZER_DEBUG code.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Apr 2016 18:08:00 +0000 (14:08 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 30 Apr 2016 18:08:00 +0000 (14:08 -0400)
commit2a2435e6995133c9d872ef9cb51432f0b678b978
tree7796ce5e1f0c612c7b1fd5475774e88b63407b14
parentc45bf5751b6338488bd79ce777210285531da373
Small improvements to OPTIMIZER_DEBUG code.

Now that Paths have their own rows field, print that rather than
the parent relation's rowcount.

Show the relid sets associated with Paths using table names rather
than numbers; since this code is able to print simple Var references
using table names, it seems a bit silly that print_relids can't.

Print the cheapest_parameterized_paths list for a RelOptInfo, and
include information about a parameterized path's required_outer rels.

Noted while trying to use this feature to debug Alexander Kirkouski's
recent bug report.
src/backend/optimizer/path/allpaths.c