aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-12-05 14:35:33 -0500
committerRobert Haas <rhaas@postgresql.org>2017-12-05 14:35:33 -0500
commit2c09a5c12a66087218c7f8cba269cd3de51b9b82 (patch)
tree952f7dc04e00e3226f2fc272b2107dec6b2061ff /src/backend/utils/adt/numeric.c
parent5bcf389ecfd40daf92238e1abbff4fc4d3f18b33 (diff)
downloadpostgresql-2c09a5c12a66087218c7f8cba269cd3de51b9b82.tar.gz
postgresql-2c09a5c12a66087218c7f8cba269cd3de51b9b82.zip
Fix accumulation of parallel worker instrumentation.
When a Gather or Gather Merge node is started and stopped multiple times, the old code wouldn't reset the shared state between executions, potentially resulting in dramatically inflated instrumentation data for nodes beneath it. (The per-worker instrumentation ended up OK, I think, but the overall totals were inflated.) Report by hubert depesz lubaczewski. Analysis and fix by Amit Kapila, reviewed and tweaked a bit by me. Discussion: http://postgr.es/m/20171127175631.GA405@depesz.com
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions