Re: Stats processor not restarting - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Stats processor not restarting
Date
Msg-id 20070320124830.GN24234@alvh.no-ip.org
Whole thread Raw
In response to Stats processor not restarting  (Magnus Hagander <magnus@hagander.net>)
Responses Re: Stats processor not restarting
Re: Stats processor not restarting
List pgsql-hackers
Magnus Hagander wrote:
> I've noticed that if for example the autovacuum process dies (such as
> with a kill -9 when testing my new shared mem implementation), only
> autovac and bgwriter are restarted. The stats collector is terminated,
> but not restarted. (Same goes for a regular backend, and not just
> autovac)
> 
> Is there a reason for this, or is it a bug?

I would say it is a bug, because the comments and code in ServerLoop()
and reaper() say different.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Stats for multi-column indexes
Next
From: Andrew Dunstan
Date:
Subject: Re: Buildfarm feature request: some way to track/classify failures