mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Put back stats-collector restarting code, removed accidentally.
Removed that code snippet accidentally in the archive_mode='always' patch. Also, use varname-tags for archive_command in the docs. Fujii Masao
This commit is contained in:
@ -1645,6 +1645,10 @@ ServerLoop(void)
|
||||
start_autovac_launcher = false; /* signal processed */
|
||||
}
|
||||
|
||||
/* If we have lost the stats collector, try to start a new one */
|
||||
if (PgStatPID == 0 && pmState == PM_RUN)
|
||||
PgStatPID = pgstat_start();
|
||||
|
||||
/*
|
||||
* If we have lost the archiver, try to start a new one.
|
||||
*
|
||||
|
Reference in New Issue
Block a user