Fix failure to use clamp_row_est() for parallel joins.

Robert Haas <rhaas@postgresql.org>

Commit: 1ea60ad602f9e97246958b721c8fa7c713aa86eb
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-03-15T16:28:54Z
Releases: 10.0
Fix failure to use clamp_row_est() for parallel joins.

Commit 0c2070cefa0e5d097b715c9a3b9b5499470019aa neglected to use
clamp_row_est() where it should have done so.

Patch by me.  Report by Amit Kapila.

Discussion: http://postgr.es/m/CAA4eK1KPm8RYa1Kun3ZmQj9pb723b-EFN70j47Pid1vn3ByquA@mail.gmail.com

Files

PathChange+/−
src/backend/optimizer/path/costsize.c modified +18 −3

Discussion