Re: BUG #4602: child processes inherit database socket

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #4602: child processes inherit database socket
Дата
Msg-id 7740.1231247714@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #4602: child processes inherit database socket  ("Jasen Betts" <jasen@treshna.com>)
Список pgsql-bugs
"Jasen Betts" <jasen@treshna.com> writes:
> libpq creates sockets to the server without CLOEXEC.

Only if you have a very broken build; see fe-connect.c around line 1160
(in CVS HEAD, but the fcntl() has been there for many years).

Perhaps what you really meant to say is "for some reason the fcntl
call isn't getting compiled in on my platform", but with no platform
details it's impossible for us to do anything about that.

            regards, tom lane

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

Предыдущее
От: "Jasen Betts"
Дата:
Сообщение: BUG #4602: child processes inherit database socket
Следующее
От: val
Дата:
Сообщение: Re: PANIC: failed to re-find parent key in "100924" for split pages 1606/1673