forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2a24942

Amit Kapila
Fix buffer usage stats for nodes above Gather Merge.
Commit85c9d34 addressed a similar problem for Gather and GatherMerge nodes but forgot to account for nodes above parallel nodes. Thisstill works for nodes above Gather node because we shut down the workersfor Gather node as soon as there are no more tuples. We can do a similarthing for Gather Merge as well but it seems better to account for statsduring nodes shutdown after completing the execution.Reported-by: Stéphane Lorek, Jehan-Guillaume de RorthaisAuthor: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>Reviewed-by: Amit KapilaBackpatch-through: 10, where it was introducedDiscussion:https://postgr.es/m/20200718160206.584532a2@firost1 parent79d6d1a commit2a24942
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
755 | 755 |
| |
756 | 756 |
| |
757 | 757 |
| |
758 |
| - | |
759 |
| - | |
760 | 758 |
| |
761 | 759 |
| |
762 | 760 |
| |
| |||
770 | 768 |
| |
771 | 769 |
| |
772 | 770 |
| |
| 771 | + | |
| 772 | + | |
773 | 773 |
| |
774 | 774 |
| |
775 | 775 |
| |
|
0 commit comments
Comments
(0)