Re: get_controlfile() can leak fds in the backend

Поиск
Список
Период
Сортировка
От Fabien COELHO
Тема Re: get_controlfile() can leak fds in the backend
Дата
Msg-id alpine.DEB.2.21.1902271015100.10851@lancre
обсуждение исходный текст
Ответ на get_controlfile() can leak fds in the backend  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: get_controlfile() can leak fds in the backend  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Bonjour Michaël,

> Thoughts?

None.

However, while at it, there is also the question of whether the control 
file should be locked when updated, eg with flock(2) to avoid race 
conditions between concurrent commands. ISTM that there is currently not 
such thing in the code, but that it would be desirable.

-- 
Fabie.

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

Предыдущее
От: leif@lako.no
Дата:
Сообщение: Re: BUG #15589: Due to missing wal, restore ends prematurely andopens database for read/write
Следующее
От: Andres Freund
Дата:
Сообщение: Re: get_controlfile() can leak fds in the backend