forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit38fc547
committed
Re-fix wrong costing of Sort under Gather Merge.
Commitdc02c7b changed this callto create_sort_path() to take -1 rather than limit_tuples because,at that time, there was no way for a Sort beneath a Gather Mergeto become a top-N sort.Later, commit3452dc5 provideda way for a Sort beneath a Gather Merge to become a top-N sort,but failed to revert the previous commit in the process. Do that.Report and analysis by Jeff Janes; patch by Thomas Munro; review byAmit Kapila and by me.Discussion:http://postgr.es/m/CAEepm=1BWtC34vUroA0Uqjw02MaqdUrW+d6WD85_k8SLyPiKHQ@mail.gmail.com1 parent09a65f5 commit38fc547
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5059 | 5059 |
| |
5060 | 5060 |
| |
5061 | 5061 |
| |
5062 |
| - | |
| 5062 | + | |
5063 | 5063 |
| |
5064 | 5064 |
| |
5065 | 5065 |
| |
|
0 commit comments
Comments
(0)