aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorEtsuro Fujita <efujita@postgresql.org>2019-01-24 16:49:17 +0900
committerEtsuro Fujita <efujita@postgresql.org>2019-01-24 16:49:17 +0900
commitfd1afdbafd4fbb0ce23a3f319adc177e4cf8fe99 (patch)
tree7898d6787e76994d8b57f0f681ef4a882da20433 /src/backend/parser/parse_expr.c
parent2cf91ccb73ce888c44e3751548fb7c77e87335f2 (diff)
downloadpostgresql-fd1afdbafd4fbb0ce23a3f319adc177e4cf8fe99.tar.gz
postgresql-fd1afdbafd4fbb0ce23a3f319adc177e4cf8fe99.zip
postgres_fdw: Account for tlist eval costs in estimate_path_cost_size().
Previously, estimate_path_cost_size() didn't account for tlist eval costs, except when costing a foreign-grouping path using local statistics, but such costs should be accounted for when costing that path using remote estimates, because some of the tlist expressions might be evaluated locally. Also, such costs should be accounted for in the case of a foreign-scan or foreign-join path, because the tlist might contain PlaceHolderVars, which postgres_fdw currently evaluates locally. This also fixes an oversight in my commit f8f6e44676. Like that commit, apply this to HEAD only to avoid destabilizing existing plan choices. Author: Etsuro Fujita Discussion: https://postgr.es/m/5BFD3EAD.2060301%40lab.ntt.co.jp
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions