aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/commit_ts.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2018-09-25 12:54:29 -0700
committerAndres Freund <andres@anarazel.de>2018-09-25 13:12:45 -0700
commite63441c3f5ca4a3cdb47f9c7fed9e61dde17b60d (patch)
tree3e0af6f82dafca6e80d546939ba5ab61a151b227 /src/backend/access/transam/commit_ts.c
parent9590f7d6c66321214926e13558c42f0099737ce4 (diff)
downloadpostgresql-e63441c3f5ca4a3cdb47f9c7fed9e61dde17b60d.tar.gz
postgresql-e63441c3f5ca4a3cdb47f9c7fed9e61dde17b60d.zip
Collect JIT instrumentation from workers.
Previously, when using parallel query, EXPLAIN (ANALYZE)'s JIT compilation timings did not include the overhead from doing so on the workers. Fix that. We do so by simply aggregating the cost of doing JIT compilation on workers and the leader together. Arguably that's not quite accurate, because the total time spend doing so is spent in parallel - but it's hard to do much better. For additional detail, when VERBOSE is specified, the stats for workers are displayed separately. Author: Amit Khandekar and Andres Freund Discussion: https://postgr.es/m/CAJ3gD9eLrz51RK_gTkod+71iDcjpB_N8eC6vU2AW-VicsAERpQ@mail.gmail.com Backpatch: 11-
Diffstat (limited to 'src/backend/access/transam/commit_ts.c')
0 files changed, 0 insertions, 0 deletions