pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Simon Riggs <simon@2ndquadrant.com>
Cc: Alvaro Herrera <alvherre@dcc.uchile.cl>
Cc: HISADAMasaki <hisada.masaki@lab.ntt.co.jp>
Cc: pgsql-hackers@postgresql.org
Subject: Re: Point in Time Recovery
Date: Thu, 15 Jul 2004 23:49:04 -0400
Message-ID: <15402.1089949744@sss.pgh.pa.us> (raw)
In-Reply-To: <1089935513.17493.6923.camel@stromboli>
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>
	<20040715230133.GB8005@dcc.uchile.cl>
	<1089935513.17493.6923.camel@stromboli>

Simon Riggs <simon@2ndquadrant.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



view thread (111+ messages)  latest in thread

Message-ID: <15402.1089949744@sss.pgh.pa.us>
Permalink:  ../15402.1089949744@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/15402.1089949744@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, simon@2ndquadrant.com, alvherre@dcc.uchile.cl, hisada.masaki@lab.ntt.co.jp, pgsql-hackers@postgresql.org
  Subject: Re: Point in Time Recovery
  In-Reply-To: <15402.1089949744@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox