Content-Length: 254686 | pFad | http://github.com/postgrespro/postgres/commit/4929704acb3b4cdde8e890af977cdacaf1ac2ccb

6A worker_spi: Call pgstat_report_stat. · postgrespro/postgres@4929704 · GitHub
Skip to content

Commit 4929704

Browse files
committed
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
1 parent e79e6c4 commit 4929704

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/test/modules/worker_spi/worker_spi.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,6 +292,7 @@ worker_spi_main(Datum main_arg)
292292
SPI_finish();
293293
PopActiveSnapshot();
294294
CommitTransactionCommand();
295+
pgstat_report_stat(false);
295296
pgstat_report_activity(STATE_IDLE, NULL);
296297
}
297298

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/4929704acb3b4cdde8e890af977cdacaf1ac2ccb

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy