Re: do we EXEC_BACKEND on Mac OS X? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: do we EXEC_BACKEND on Mac OS X?
Date
Msg-id 8457.1349281602@sss.pgh.pa.us
Whole thread Raw
In response to do we EXEC_BACKEND on Mac OS X?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: do we EXEC_BACKEND on Mac OS X?  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Alvaro Herrera <alvherre@2ndquadrant.com> writes:
> See the CAVEATS here:
> https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man2/fork.2.html

> Apparently fork() without exec() isn't all that well supported.

This doesn't say fork() doesn't work.  It says that Apple's framework
libraries aren't meant to work in a forked subprocess --- but we don't
use those.

> Noticed while perusing
> http://lwn.net/Articles/518306/

I'm afraid Brian was just looking for an excuse to dump on Apple.  We
have a lot of years of Postgres experience showing that fork() works
fine on OS X.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: Tablefunc crosstab error messages
Next
From: Tom Lane
Date:
Subject: Re: do we EXEC_BACKEND on Mac OS X?