Re: Archiver not exiting upon crash - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Archiver not exiting upon crash
Date
Msg-id 1337789632.23660.2.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: Archiver not exiting upon crash  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Archiver not exiting upon crash
List pgsql-hackers
On mån, 2012-05-21 at 13:14 -0400, Tom Lane wrote:
> > ... but having said that, I see Peter's commit
> > d6de43099ac0bddb4b1da40088487616da892164 only touched postgres.c's
> > quickdie(), and not all the *other* background processes with
> identical
> > coding.  That seems a clear oversight, so I will go fix it.  Doesn't
> > explain why the archiver would get confused, though, since that file
> > doesn't have any code that tries to re-enable signals after entering
> the
> > signal handler.
> 
> ... wait, scratch that.  AFAICS, that commit was totally useless,
> because BlockSig should always already contain SIGQUIT.

No, because PostgresMain() deletes it from BlockSig.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Archiver not exiting upon crash
Next
From: Tom Lane
Date:
Subject: Re: Archiver not exiting upon crash