Re: emergency outage requiring database restart

Поиск
Список
Период
Сортировка
От Oskari Saarenmaa
Тема Re: emergency outage requiring database restart
Дата
Msg-id dfbae3fb-cd79-f450-0180-577f5e86e387@ohmu.fi
обсуждение исходный текст
Ответ на Re: emergency outage requiring database restart  (Andres Freund <andres@anarazel.de>)
Ответы Re: emergency outage requiring database restart
Re: [HACKERS] emergency outage requiring database restart
Список pgsql-hackers
26.10.2016, 21:34, Andres Freund kirjoitti:
> Any chance that plsh or the script it executes does anything with the file descriptors it inherits? That'd certainly
oneway to get into odd corruption issues. 
>
> We processor really should use O_CLOEXEC for the majority of it file handles.

Attached a patch to always use O_CLOEXEC in BasicOpenFile if we're not
using EXEC_BACKEND.  It'd be nice to not expose all fds to most
pl-languages either, but I guess there's no easy solution to that
without forcibly closing all fds whenever any functions are called.

/ Oskari

Вложения

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

Предыдущее
От: Kevin Grittner
Дата:
Сообщение: Re: delta relations in AFTER triggers
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: delta relations in AFTER triggers