Hi, I just noticed a comment which has been made a little outdated by the partition-wise join code from commit f49842d1. The comment claims that inheritance children don't add to the effort required in join planning, while that still may be true, we should probably mention that partitioned tables may be a more complex case.
The attached is my attempt at putting this right. -- David Rowley http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services
cached_plan_cost_comment_fix.patch
Description: Binary data