Skip site navigation (1) Skip section navigation (2)

Re: BUG #1707: statistics collector starts with stats_start_collector

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>,Federico Di Gregorio <fog(at)initd(dot)org>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1707: statistics collector starts with stats_start_collector
Date: 2005-06-14 07:25:12
Message-ID: 42AE8658.7020606@pse-consulting.de (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-patches
Bruce Momjian wrote:

>>
>>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.
> 
> 
> Sure, but the GUC only reports that it thinks the stats collector
> started, not whether it is running or not.  I think 'ps' is a fine way
> to tell.

Um, no such beast under win32. You can only see some postgres processes, 
but can't distinguish them. We'd need some functions that examine the 
pids known to the postmaster (pg_get_collector_pid, pg_get_logger_pid, ...)

Regards,
Andreas

In response to

pgsql-bugs by date

Next:From: Bug FinderDate: 2005-06-14 08:07:41
Subject: BUG #1718: geqo_selection.c:linear()
Previous:From: Bruce MomjianDate: 2005-06-14 03:08:17
Subject: Re: BUG #1707: statistics collector starts with stats_start_collector

pgsql-patches by date

Next:From: Atsushi OgawaDate: 2005-06-14 13:16:05
Subject: replace_text() improvement
Previous:From: Neil ConwayDate: 2005-06-14 06:49:51
Subject: Re: plpgsql raise - parameters can be expressions

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group