X-Original-To: pgsql-hackers-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 519BCD1B195 for ; Thu, 15 Jul 2004 20:02:25 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 19380-08 for ; Thu, 15 Jul 2004 23:02:24 +0000 (GMT) Received: from mr2.surnet.cl (av2.surnet.cl [216.155.73.169]) by svr1.postgresql.org (Postfix) with ESMTP id 33DA8D1B181 for ; Thu, 15 Jul 2004 20:02:20 -0300 (ADT) Received: from smtp2.surnet.cl (216.155.73.169) by mr2.surnet.cl (7.0.024) id 4046489701BD471A; Thu, 15 Jul 2004 19:00:02 -0400 Received: from av1.surnet.cl ([216.155.73.168]) by smtp2.surnet.cl (MailMonitor for SMTP v1.2.2 ) ; Thu, 15 Jul 2004 19:00:02 -0400 (CLT) Received: from cluster.surnet.cl (216.155.73.164) by smtp1.surnet.cl (7.0.024) id 40EC8F250018E945; Thu, 15 Jul 2004 19:01:30 -0400 Received: from 216.155.88.75.dsl.surnet.cl (216.155.86.92) by cluster.surnet.cl (7.0.024) (authenticated as alvherre@surnet.cl) id 403C729000E9DB42; Thu, 15 Jul 2004 19:01:33 -0400 Received: by 216.155.88.75.dsl.surnet.cl (Postfix, from userid 500) id 1AA681660B; Thu, 15 Jul 2004 19:01:33 -0400 (CLT) Date: Thu, 15 Jul 2004 19:01:33 -0400 From: Alvaro Herrera To: Simon Riggs Cc: HISADAMasaki , pgsql-hackers@postgresql.org Subject: Re: Point in Time Recovery Message-ID: <20040715230133.GB8005@dcc.uchile.cl> References: <200407132242.i6DMgg612564@candle.pha.pa.us> <1089760416.17493.3327.camel@stromboli> <20040715210816.E8A3.HISADA.MASAKI@lab.ntt.co.jp> <1089931442.17493.6749.camel@stromboli> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1089931442.17493.6749.camel@stromboli> User-Agent: Mutt/1.5.5.1i X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=4.6 tagged_above=0.0 required=5.0 tests=RCVD_IN_DSBL, RCVD_IN_NJABL, RCVD_IN_NJABL_PROXY, RCVD_IN_SORBS, RCVD_IN_SORBS_HTTP, RCVD_IN_SORBS_SOCKS X-Spam-Level: **** X-Archive-Number: 200407/829 X-Sequence-Number: 56390 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. (This is on linux BTW) -- Alvaro Herrera () "La experiencia nos dice que el hombre peló millones de veces las patatas, pero era forzoso admitir la posibilidad de que en un caso entre millones, las patatas pelarían al hombre" (Ijon Tichy)