aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-secure-common.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2018-08-03 09:11:37 +0530
committerAmit Kapila <akapila@postgresql.org>2018-08-03 09:11:37 +0530
commitccc84a956b00bdd4c162ca8951dd1ff7890cb51f (patch)
treec17f433e1e1fc70e66348df99cd39363062b9c04 /src/interfaces/libpq/fe-secure-common.c
parent579b985b22928ef2aecacb679ac65e6a48b00113 (diff)
downloadpostgresql-ccc84a956b00bdd4c162ca8951dd1ff7890cb51f.tar.gz
postgresql-ccc84a956b00bdd4c162ca8951dd1ff7890cb51f.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/interfaces/libpq/fe-secure-common.c')
0 files changed, 0 insertions, 0 deletions