forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit34ca090
committed
Adjust cost_merge_append() to reflect use of binaryheap_replace_first().
Commit7a2fe9b improved merge append so that replacement of a tupletakes log(N) operations, not twice log(N). Since cost_merge_append knewabout that explicitly, we should adjust it. This probably makes littledifference in practice, but the obsolete comment is confusing.Ideally this would have been put in in 9.3 with the underlying behaviorchange; but I'm not going to back-patch it, since there's some small chanceof changing a plan choice that somebody's optimized for.Thomas MunroDiscussion: <CAEepm=0WQBSvuYcMOUj4Ga4NXpu2J=ejZcE=e=eiTjTX-6_gDw@mail.gmail.com>1 parent86d19d2 commit34ca090
1 file changed
+2
-3
lines changedLines changed: 2 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1577 | 1577 |
| |
1578 | 1578 |
| |
1579 | 1579 |
| |
1580 |
| - | |
1581 |
| - | |
| 1580 | + | |
1582 | 1581 |
| |
1583 | 1582 |
| |
1584 | 1583 |
| |
| |||
1619 | 1618 |
| |
1620 | 1619 |
| |
1621 | 1620 |
| |
1622 |
| - | |
| 1621 | + | |
1623 | 1622 |
| |
1624 | 1623 |
| |
1625 | 1624 |
| |
|
0 commit comments
Comments
(0)