Re: BUG #1707: statistics collector starts with stats_start_collector = false - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #1707: statistics collector starts with stats_start_collector = false
Date
Msg-id 11312.1118637554@sss.pgh.pa.us
Whole thread Raw
In response to Re: BUG #1707: statistics collector starts with stats_start_collector  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: BUG #1707: statistics collector starts with stats_start_collector
List pgsql-bugs
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> I don't have a problem with removing it as a writable option ... but
>> I'm thinking we should leave it as a read-only GUC parameter (like
>> the several others we have already).  Otherwise we'll need to add some
>> other method of finding out whether the collector is running.

> Why would a user care?

luser> It's not collecting statistics!

us> Is the collector running?

luser> How should I know?

us> er ...

If we don't have a way to check this, we'll regret it soon enough...
now maybe a GUC setting isn't the optimal way, but I think we need
*some* way besides ps.  ps doesn't work remotely and I think there's
no simple equivalent under Windows either.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #1707: statistics collector starts with stats_start_collector
Next
From: Achilleus Mantzios
Date:
Subject: Re: BUG #1715: dbmirror replaces nextval, setval functions