forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitdc02c7b
committed
Fix wrong costing of Sort under Gather Merge.
There's no mechanism for such a sort to become a top-N sort, so weshould pass -1 rather than limit_tuples to cost_sort().Rushabh Lathia, per a report from Mithun CyDiscussion:http://postgr.es/m/CAGPqQf1akRcSgC9=6iwx=sEPap9UvPpHJLzg8_N+OuHdb6fL+g@mail.gmail.com1 parent6b76f1b commitdc02c7b
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4416 | 4416 |
| |
4417 | 4417 |
| |
4418 | 4418 |
| |
4419 |
| - | |
| 4419 | + | |
4420 | 4420 |
| |
4421 | 4421 |
| |
4422 | 4422 |
| |
|
0 commit comments
Comments
(0)