Re: Point in Time Recovery

From: Simon Riggs <simon(at)2ndquadrant(dot)com>
To: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>
Cc: HISADAMasaki <hisada(dot)masaki(at)lab(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Point in Time Recovery
Date: 2004-07-15 23:51:53
Message-ID: 1089935513.17493.6923.camel@stromboli
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers pgsql-patches

On Fri, 2004-07-16 at 00:01, Alvaro Herrera wrote:
> On Thu, Jul 15, 2004 at 11:44:02PM +0100, Simon Riggs wrote:
> > On Thu, 2004-07-15 at 13:16, HISADAMasaki wrote:
>
> > > -- line 236 ---
> > > - pgsignal(SIGCHLD, SIG_IGN);
> > >
> > > -- line 236 ---
> > > + pgsignal(SIGCHLD, SIG_DFL);
> >
> > I'm not sure I understand why its returned -1, though I'll take you
> > recommendation. I've not witnessed such an issue. What system are you
> > running, or is it a default shell issue?
> >
> > Do people think that the change is appropriate for all systems, or just
> > the one you're using?
>
> My manpage for signal(2) says that you shouldn't assign SIG_IGN to
> SIGCHLD, according to POSIX. It goes on to say that BSD and SysV
> behaviors differ on this aspect.
>

POSIX rules OK!

So - I should be setting this to SIG_DFL and thats good for everyone?

OK. Will do.

Best regards, Simon Riggs

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Simon Riggs 2004-07-16 00:02:38 Re: Point in Time Recovery
Previous Message Mark Kirkwood 2004-07-15 23:46:54 Re: Point in Time Recovery

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-07-15 23:59:20 Re: Very strange Error in Updates
Previous Message Mark Kirkwood 2004-07-15 23:46:54 Re: Point in Time Recovery

Browse pgsql-patches by date

  From Date Subject
Next Message Simon Riggs 2004-07-16 00:02:38 Re: Point in Time Recovery
Previous Message Mark Kirkwood 2004-07-15 23:46:54 Re: Point in Time Recovery