pgsql: Small improvements to OPTIMIZER_DEBUG code. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Small improvements to OPTIMIZER_DEBUG code.
Date
Msg-id E1awZJG-0005Vw-KU@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2a2435e6995133c9d872ef9cb51432f0b678b978

Modified Files
--------------
src/backend/optimizer/path/allpaths.c | 29 +++++++++++++++++++++++------
1 file changed, 23 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix planner crash from pfree'ing a partial path that a GatherPat
Next
From: Tom Lane
Date:
Subject: pgsql: Update contrib/unaccent documentation about its unaccent.rules f