aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execGrouping.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2020-07-25 10:31:19 +0530
committerAmit Kapila <akapila@postgresql.org>2020-07-25 10:31:19 +0530
commitb15367ae39402eb4eb8736f9c38c607995c82bb2 (patch)
tree4d28ae0963962eeb10dd72bb82be2a0f41f31306 /src/backend/executor/execGrouping.c
parent70eca6a9a6df679a86f30442194cc6b858b82000 (diff)
downloadpostgresql-b15367ae39402eb4eb8736f9c38c607995c82bb2.tar.gz
postgresql-b15367ae39402eb4eb8736f9c38c607995c82bb2.zip
Fix buffer usage stats for nodes above Gather Merge.
Commit 85c9d347 addressed a similar problem for Gather and Gather Merge nodes but forgot to account for nodes above parallel nodes. This still works for nodes above Gather node because we shut down the workers for Gather node as soon as there are no more tuples. We can do a similar thing for Gather Merge as well but it seems better to account for stats during nodes shutdown after completing the execution. Reported-by: Stéphane Lorek, Jehan-Guillaume de Rorthais Author: Jehan-Guillaume de Rorthais <jgdr@dalibo.com> Reviewed-by: Amit Kapila Backpatch-through: 10, where it was introduced Discussion: https://postgr.es/m/20200718160206.584532a2@firost
Diffstat (limited to 'src/backend/executor/execGrouping.c')
0 files changed, 0 insertions, 0 deletions