Alvaro Herrera <alvherre(at)2ndquadrant(dot)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