diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-21 17:45:07 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-07-21 17:45:07 -0400 |
commit | 31c7c642b6419b43eff903285e3da65e3f1901d6 (patch) | |
tree | f7c172f0de2d1692289f484e642f85ed01bb40c5 /src/backend/storage/file/fd.c | |
parent | ed0af3324702685cce63aed0641b4cbb45816b50 (diff) | |
download | postgresql-31c7c642b6419b43eff903285e3da65e3f1901d6.tar.gz postgresql-31c7c642b6419b43eff903285e3da65e3f1901d6.zip |
Account for SRFs in targetlists in planner rowcount estimates.
We made use of the ROWS estimate for set-returning functions used in FROM,
but not for those used in SELECT targetlists; which is a bit of an
oversight considering there are common usages that require the latter
approach. Improve that. (I had initially thought it might be worth
folding this into cost_qual_eval, but after investigation concluded that
that wouldn't be very helpful, so just do it separately.) Per complaint
from David Johnston.
Back-patch to 9.2, but not further, for fear of destabilizing plan choices
in existing releases.
Diffstat (limited to 'src/backend/storage/file/fd.c')
0 files changed, 0 insertions, 0 deletions