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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy