mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
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
This commit is contained in:
parent
32841fa325
commit
f0476e226f
1 changed files with 1 additions and 0 deletions
|
|
@ -292,6 +292,7 @@ worker_spi_main(Datum main_arg)
|
|||
SPI_finish();
|
||||
PopActiveSnapshot();
|
||||
CommitTransactionCommand();
|
||||
pgstat_report_stat(false);
|
||||
pgstat_report_activity(STATE_IDLE, NULL);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue