Re: fork() and dynamically loaded c functions....

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: fork() and dynamically loaded c functions....
Дата
Msg-id 25457.1281497997@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: fork() and dynamically loaded c functions....  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-general
Alvaro Herrera <alvherre@commandprompt.com> writes:
> You probably should close any open file descriptors too, just to be
> safe.  (Or do we set FD_CLOEXEC on them?)

We don't.  It'd take an extra syscall per open(), which seems like rather
a lot of overhead to deal with a case we aren't even trying to support.

            regards, tom lane

В списке pgsql-general по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: fork() and dynamically loaded c functions....
Следующее
От: Samantha Atkins
Дата:
Сообщение: Re: Is there a way to bypass sql?