forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf0f13a3
committed
Fix estimates for ModifyTable paths without RETURNING.
In the past, we always estimated that a ModifyTable node would emit thesame number of rows as its subpaths. Without a RETURNING clause, thecorrect estimate is zero. Fix, in preparation for a proposed parallelwrite patch that is sensitive to that number.A remaining problem is that for RETURNING queries, the estimated widthis based on subpath output rather than the RETURNING tlist.Reviewed-by: Greg Nancarrow <gregn4422@gmail.com>Discussion:https://postgr.es/m/CAJcOf-cXnB5cnMKqWEp2E2z7Mvcd04iLVmV%3DqpFJrR3AcrTS3g%40mail.gmail.com1 parent3fb6765 commitf0f13a3
1 file changed
+8
-5
lines changedLines changed: 8 additions & 5 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3583 | 3583 |
| |
3584 | 3584 |
| |
3585 | 3585 |
| |
3586 |
| - | |
3587 |
| - | |
| 3586 | + | |
| 3587 | + | |
| 3588 | + | |
| 3589 | + | |
| 3590 | + | |
3588 | 3591 |
| |
3589 | 3592 |
| |
3590 | 3593 |
| |
3591 | 3594 |
| |
3592 |
| - | |
3593 |
| - | |
3594 |
| - | |
| 3595 | + | |
| 3596 | + | |
| 3597 | + | |
3595 | 3598 |
| |
3596 | 3599 |
| |
3597 | 3600 |
| |
|
0 commit comments
Comments
(0)