Re: SIGCHLD handler in Postgres C function. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: SIGCHLD handler in Postgres C function.
Date
Msg-id 21703.996519622@sss.pgh.pa.us
Whole thread Raw
In response to Re: SIGCHLD handler in Postgres C function.  (Bill Studenmund <wrstuden@zembu.com>)
Responses Re: SIGCHLD handler in Postgres C function.
List pgsql-hackers
Bill Studenmund <wrstuden@zembu.com> writes:
> All ECHILD is doing is saying there was no child. Since we aren't really
> waiting for the child, I don't see how that's a problem.

You're missing the point: on some platforms the system() call is
returning a failure indication because of ECHILD.  It's system() that's
broken, not us, and the issue is how to work around its brokenness
without sacrificing more error detection than we have to.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Mikheev, Vadim"
Date:
Subject: RE: Performance TODO items
Next
From: Tom Lane
Date:
Subject: Re: Performance TODO items