forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitbdaa84e
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 parent3d4a778 commitbdaa84e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
749 | | - | |
750 | | - | |
751 | 749 | | |
752 | 750 | | |
753 | 751 | | |
| |||
761 | 759 | | |
762 | 760 | | |
763 | 761 | | |
| 762 | + | |
| 763 | + | |
764 | 764 | | |
765 | 765 | | |
766 | 766 | | |
| |||
0 commit comments
Comments
(0)