Re: do we EXEC_BACKEND on Mac OS X?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: do we EXEC_BACKEND on Mac OS X?
Дата
Msg-id 8457.1349281602@sss.pgh.pa.us
обсуждение исходный текст
Ответ на do we EXEC_BACKEND on Mac OS X?  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: do we EXEC_BACKEND on Mac OS X?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Noah Misch
Дата:
Сообщение: Re: Tablefunc crosstab error messages
Следующее
От: Tom Lane
Дата:
Сообщение: Re: do we EXEC_BACKEND on Mac OS X?