Re: Pre-forking backend

Поиск
Список
Период
Сортировка
От Doug McNaught
Тема Re: Pre-forking backend
Дата
Msg-id m3ofnsu30w.fsf@belphigor.mcnaught.org
обсуждение исходный текст
Ответ на Re: Pre-forking backend  (Gavin Sherry <swm@linuxworld.com.au>)
Ответы Re: Pre-forking backend
Список pgsql-hackers
Gavin Sherry <swm@linuxworld.com.au> writes:

> This aside, isn't it possible to just copy the socket and some
> data about the database required into shared memory and have the preforked
> children pick the socket up from there.

Ummm....  No.  There's no Unix API for doing so.

You can pass open file descriptors across Unix domain sockets on most
systems, which is a possible way to address the problem, but probably
not worth it for the reasons discussed earlier.

-Doug
-- 
In a world of steel-eyed death, and men who are fighting to be warm,
Come in, she said, I'll give you shelter from the storm.    -Dylan


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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: PL/pgSQL bug?
Следующее
От: Marko Kreen
Дата:
Сообщение: Re: Glitch in handling of postmaster -o options