Re: Point in Time Recovery

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl>, 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-16 03:49:04
Message-ID: 15402.1089949744@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-hackers pgsql-patches

Simon Riggs <simon(at)2ndquadrant(dot)com> writes:
> On Fri, 2004-07-16 at 00:01, Alvaro Herrera wrote:
>> My manpage for signal(2) says that you shouldn't assign SIG_IGN to
>> SIGCHLD, according to POSIX.

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

Yeah, we learned the same lesson in the backend not too many releases
back. SIG_IGN'ing SIGCHLD is bad voodoo; it'll work on some platforms
but not others.

You could do worse than to look at the existing handling of signals in
the postmaster and its children; that code has been beat on pretty
heavily ...

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Simon Riggs 2004-07-16 07:40:44 Re: Point in Time Recovery
Previous Message Simon Riggs 2004-07-16 00:02:38 Re: Point in Time Recovery

Browse pgsql-hackers by date

  From Date Subject
Next Message Justin Clift 2004-07-16 03:52:21 pg_dump - option for just dumping sequences?
Previous Message Oliver Jowett 2004-07-16 03:35:13 Re: [HACKERS] Weird new time zone

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2004-07-16 05:44:12 Re: [subxacts] Savepoint syntax
Previous Message Bruce Momjian 2004-07-16 03:43:32 Re: initdb authentication