aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-07-22 19:12:33 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-07-22 19:12:33 +0000
commit4ee7e8213cfd44760a79fc6bd19540ffae960721 (patch)
tree4812e1df2e10edb9ba601e868126b75746d4de75 /src/backend/access/gist
parentea72596db57dd0c404f29de2ae2d661f8d5860a1 (diff)
downloadpostgresql-4ee7e8213cfd44760a79fc6bd19540ffae960721.tar.gz
postgresql-4ee7e8213cfd44760a79fc6bd19540ffae960721.zip
Fix compare_fuzzy_path_costs() to behave a bit more sanely. The original
coding would ignore startup cost differences of less than 1% of the estimated total cost; which was OK for normal planning but highly not OK if a very small LIMIT was applied afterwards, so that startup cost becomes the name of the game. Instead, compare startup and total costs fuzzily but independently. This changes the plan selected for two queries in the regression tests; adjust expected-output files for resulting changes in row order. Per reports from Dawid Kuroczko and Sam Mason.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions