Re: max_files_per_process ignored on Windows

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: max_files_per_process ignored on Windows
Дата
Msg-id 9225.1332986565@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: max_files_per_process ignored on Windows  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Magnus Hagander <magnus@hagander.net> writes:
> On Wed, Mar 28, 2012 at 18:12, Heikki Linnakangas
> <heikki.linnakangas@enterprisedb.com> wrote:
>> An obvious fix would be to call set_max_safe_fds() in the child processes,
>> although I wonder if that's too expensive. Another option is to pass down
>> the value with save_restore_backend_variables().

> ISTM that passing down through save_restore_backend_variables() is a
> much better choice.

+1.  Having multiple children running set_max_safe_fds() concurrently
would be a seriously bad idea.
        regards, tom lane


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

Предыдущее
От: Joachim Wieland
Дата:
Сообщение: Re: patch for parallel pg_dump
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgxs and bison, flex