aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_target.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-11-19 15:06:45 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-11-19 15:06:45 -0500
commit0832f2db68cc43524a240db47d0428cc9525723e (patch)
tree2eb1fbc4d6a9828491609d6d193522cb35976ec6 /src/backend/parser/parse_target.c
parent13671b4b22ae4bd345c62e7c0b41d717b8a2e19b (diff)
downloadpostgresql-0832f2db68cc43524a240db47d0428cc9525723e.tar.gz
postgresql-0832f2db68cc43524a240db47d0428cc9525723e.zip
Fix latent costing error in create_merge_append_path.
create_merge_append_path should use the path rowcount it just computed, not rel->tuples, for costing purposes. Those numbers should always be the same at present, but if we ever support parameterized MergeAppend paths (a case this function is otherwise prepared for), the former would be right and the latter wrong. No need for back-patch since the problem is only latent. Ashutosh Bapat Discussion: <CAFjFpRek+cLCnTo24youuGtsq4zRphEB8EUUPjDxZjnL4n4HYQ@mail.gmail.com>
Diffstat (limited to 'src/backend/parser/parse_target.c')
0 files changed, 0 insertions, 0 deletions