If the stats collector dies during Hot Standby, restart it.

Robert Haas <rhaas@postgresql.org>

Commit: 4a8cfbdcbe8447e4226b2ebdb155e0acc1167db5
Author: Robert Haas <rhaas@postgresql.org>
Date: 2016-10-27T18:56:37Z
Releases: 9.4.11
If the stats collector dies during Hot Standby, restart it.

This bug exists as far back as 9.0, when Hot Standby was introduced,
so back-patch to all supported branches.

Report and patch by Takayuki Tsunakawa, reviewed by Michael Paquier
and Kuntal Ghosh.

Files

PathChange+/−
src/backend/postmaster/postmaster.c modified +3 −2