postgresql/src/backend
Robert Haas 2c09a5c12a 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
2017-12-05 14:35:33 -05:00
..
access Simplify do_pg_start_backup's API by opening pg_tblspc internally. 2017-12-04 18:37:54 -05:00
bootstrap Exclude flex-generated code from coverage testing 2017-10-16 16:28:11 -04:00
catalog Minor code beautification in partition_bounds_equal. 2017-12-01 13:52:59 -05:00
commands Fix EXPLAIN ANALYZE of hash join when the leader doesn't participate. 2017-12-05 10:55:56 -08:00
executor Fix accumulation of parallel worker instrumentation. 2017-12-05 14:35:33 -05:00
foreign Change TRUE/FALSE to true/false 2017-11-08 11:37:28 -05:00
lib Allow to avoid NUL-byte management for stringinfos and use in format.c. 2017-10-11 16:01:52 -07:00
libpq Check channel binding flag at end of SCRAM exchange 2017-12-01 09:53:26 -05:00
main Install Windows crash dump handler before all else. 2017-11-12 14:31:00 -08:00
nodes Remove extra word from comment. 2017-11-30 16:22:38 -05:00
optimizer Try to exclude partitioned tables in toto. 2017-12-01 10:59:09 -05:00
parser Re-allow INSERT .. ON CONFLICT DO NOTHING on partitioned tables. 2017-12-01 12:53:21 -05:00
po Translation updates 2017-08-07 13:55:34 -04:00
port Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
postmaster Clean up assorted messiness around AllocateDir() usage. 2017-12-04 17:02:56 -05:00
regex Mop-up for commit 85feb77aa0. 2017-09-22 11:35:12 -04:00
replication Simplify do_pg_start_backup's API by opening pg_tblspc internally. 2017-12-04 18:37:54 -05:00
rewrite Fix creation of resjunk tlist entries for inherited mixed UPDATE/DELETE. 2017-11-27 17:54:07 -05:00
snowball Add some const decorations to prototypes 2017-11-10 13:38:57 -05:00
statistics Support boolean columns in functional-dependency statistics. 2017-12-04 11:51:43 -05:00
storage Treat directory open failures as hard errors in ResetUnloggedRelations(). 2017-12-04 20:52:59 -05:00
tcop SQL procedures 2017-11-30 11:03:20 -05:00
tsearch Update typedefs.list and re-run pgindent 2017-11-29 09:24:24 -05:00
utils Clean up assorted messiness around AllocateDir() usage. 2017-12-04 17:02:56 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Inject $(ICU_LIBS) regardless of platform. 2017-08-20 21:22:18 -07:00
common.mk Add ICU_CFLAGS to global CPPFLAGS 2017-06-12 15:57:22 -04:00
nls.mk Translation updates 2017-05-15 12:19:54 -04:00