aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execProcnode.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2018-08-03 09:29:45 +0530
committerAmit Kapila <akapila@postgresql.org>2018-08-03 09:29:45 +0530
commitef305bd59d9828805bfdbf33ff4003bb74a63865 (patch)
treeda5bb1657bb3d18b5bfb22615f3051f4c762a68a /src/backend/executor/execProcnode.c
parent1b54e91faabf3764b6786915881e514e42dccf89 (diff)
downloadpostgresql-ef305bd59d9828805bfdbf33ff4003bb74a63865.tar.gz
postgresql-ef305bd59d9828805bfdbf33ff4003bb74a63865.zip
Match the buffer usage tracking for leader and worker backends.
In the leader backend, we don't track the buffer usage for ExecutorStart phase whereas in worker backend we track it for ExecutorStart phase as well. This leads to different value for buffer usage stats for the parallel and non-parallel query. Change the code so that worker backend also starts tracking buffer usage after ExecutorStart. Author: Amit Kapila and Robert Haas Reviewed-by: Robert Haas and Andres Freund Backpatch-through: 9.6 where this code was introduced Discussion: https://postgr.es/m/86137f17-1dfb-42f9-7421-82fd786b04a1@anayrat.info
Diffstat (limited to 'src/backend/executor/execProcnode.c')
0 files changed, 0 insertions, 0 deletions