If the stats collector dies during Hot Standby, restart it.
authorRobert Haas
Thu, 27 Oct 2016 18:27:40 +0000 (14:27 -0400)
committerRobert Haas
Thu, 27 Oct 2016 18:54:35 +0000 (14:54 -0400)
commit4a43a6244d93dd0e16a898ff18d8641512b6006c
tree10effc8522a77f01f16ba48987fb809bb05d1e99
parent05e2293f4c70cdda00357322f62e3ccd8b1043db
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.
src/backend/postmaster/postmaster.c