worker_spi: Call pgstat_report_stat.
authorRobert Haas <rhaas@postgresql.org>
Wed, 28 Sep 2016 16:38:33 +0000 (12:38 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 28 Sep 2016 16:42:48 +0000 (12:42 -0400)
commit4929704acb3b4cdde8e890af977cdacaf1ac2ccb
tree6a570c02d93b49433e9bfaeacfbc9879ab62cfe4
parente79e6c4da152154544913b38354b98d07b65e411
worker_spi: Call pgstat_report_stat.

Without this, statistics changes accumulated by the worker never get
reported to the stats collector, which is bad.

Julien Rouhaud
src/test/modules/worker_spi/worker_spi.c