]> granicus.if.org Git - postgresql/commit
Cause planner to account for evaluation costs in targetlists and
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 13 Jan 2003 00:29:26 +0000 (00:29 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 13 Jan 2003 00:29:26 +0000 (00:29 +0000)
commit8ac6d952cfa98f024a788bd0699dc1c0cd448af0
treed4dae28030ca6bf7ee67f612d41be1bbb421d3b0
parentd1686b42ab58ce29777557f52b941fa9b927b2a6
Cause planner to account for evaluation costs in targetlists and
HAVING quals.  Normally this is an insignificant effect --- but it
will not be insignificant when these clauses contain sub-selects.
The added costs cannot affect the planning of the query containing
them, but they might have an impact when the query is a sub-query
of a larger one.
src/backend/optimizer/plan/createplan.c
src/backend/optimizer/plan/planner.c
src/backend/optimizer/plan/subselect.c