Fix failure to use clamp_row_est() for parallel joins.

Robert Haas <rhaas@postgresql.org>

Commit: 5feb78ae885ce7ab134aad1d12875bd5103e5842
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-03-15T16:41:00Z
Releases: 9.6.3
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