git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6b76f1b) | patch
Fix wrong costing of Sort under Gather Merge.
2017年3月22日 18:42:03 +0000 (14:42 -0400)
2017年3月22日 18:45:14 +0000 (14:45 -0400)
commit dc02c7bca4dccf7de278cdc6b3325a829e75b252
Fix wrong costing of Sort under Gather Merge.

There's no mechanism for such a sort to become a top-N sort, so we
should pass -1 rather than limit_tuples to cost_sort().

Rushabh Lathia, per a report from Mithun Cy

Discussion: http://postgr.es/m/CAGPqQf1akRcSgC9=6iwx=sEPap9UvPpHJLzg8_N+OuHdb6fL+g@mail.gmail.com
src/backend/optimizer/plan/planner.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /