Re: stats collector dies in current - Mailing list pgsql-hackers

From Tom Lane
Subject Re: stats collector dies in current
Date
Msg-id 23669.1092550529@sss.pgh.pa.us
Whole thread Raw
In response to Re: stats collector dies in current  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-hackers
Oliver Jowett <oliver@opencloud.com> writes:
> Tom Lane wrote:
>> However, I would still like to know why 7.4 didn't show the same
>> misbehavior, when it isn't using this flag.

> It looks like the 7.4 code never unblocks signals in the collector 
> process, so that process never gets stopped by SIGTSTP.

Good catch --- that seems to explain all the facts.

Since the collector SIG_IGN's all the signals it'd be likely to get in
normal operation, it's not surprising we did not notice this.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: stats collector dies in current
Next
From: Philip Warner
Date:
Subject: Re: pg_dump 'die_on_errors'