Revise cost_qual_eval() to compute both startup (one-time) and per-tuple
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 12 Jan 2003 22:35:29 +0000 (22:35 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 12 Jan 2003 22:35:29 +0000 (22:35 +0000)
commitd4ce5a4f4c3516e88fa34c53bcc7313db90a3c08
tree4c6b53e1c1e0989a9f45fe42ab6f29ffac019c03
parentd51260aa9d36653f4d63e6df133ddff8380f61b2
Revise cost_qual_eval() to compute both startup (one-time) and per-tuple
costs for expression evaluation, not only per-tuple cost as before.
This extension is needed in order to deal realistically with hashed or
materialized sub-selects.
doc/src/sgml/indexcost.sgml
src/backend/optimizer/path/costsize.c
src/backend/optimizer/plan/initsplan.c
src/backend/optimizer/prep/prepunion.c
src/backend/optimizer/util/relnode.c
src/backend/utils/adt/selfuncs.c
src/include/nodes/relation.h
src/include/optimizer/cost.h