aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gist.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2012-07-21 17:45:15 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2012-07-21 17:45:15 -0400
commit641054ad7882a701cf3ac4c5666f6ee59103d3a7 (patch)
tree4dfa6889904b4df2d59c67a6630b70c291c8218c /src/backend/access/gist/gist.c
parentc6c6f2192dfd7d4e77bd00b698feef284ddabfaa (diff)
downloadpostgresql-641054ad7882a701cf3ac4c5666f6ee59103d3a7.tar.gz
postgresql-641054ad7882a701cf3ac4c5666f6ee59103d3a7.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/access/gist/gist.c')
0 files changed, 0 insertions, 0 deletions