aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/advanced.source
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2018-08-03 09:50:24 +0530
committerAmit Kapila <akapila@postgresql.org>2018-08-03 09:50:24 +0530
commit3f02b5150ad9c97eec7238741411d8970be0eb67 (patch)
tree9f6084b6cdf4b561fab45871f5439b9e3a5ca1ae /src/tutorial/advanced.source
parent71e3b28901871a72d46d5a8e00e0ff259f036d55 (diff)
downloadpostgresql-3f02b5150ad9c97eec7238741411d8970be0eb67.tar.gz
postgresql-3f02b5150ad9c97eec7238741411d8970be0eb67.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/tutorial/advanced.source')
0 files changed, 0 insertions, 0 deletions