Re: Possible race condition in pg_mkdir_p()?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Possible race condition in pg_mkdir_p()?
Дата
Msg-id 20190718085745.GJ1416@paquier.xyz
обсуждение исходный текст
Ответ на Possible race condition in pg_mkdir_p()?  (Ning Yu <nyu@pivotal.io>)
Ответы Re: Possible race condition in pg_mkdir_p()?  (Paul Guo <pguo@pivotal.io>)
Re: Possible race condition in pg_mkdir_p()?  (Ning Yu <nyu@pivotal.io>)
Список pgsql-hackers
On Thu, Jul 18, 2019 at 04:17:22PM +0800, Ning Yu wrote:
> This is still wrong with current code logic, because when the statusdir is
> a file the errno is also EEXIST, but it can pass the check here.  Even if
> we fix pg_mkdir_p() by following the `mkdir -p` way the errno check here is
> still wrong.

Would you like to send a patch?
--
Michael

Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Intermittent pg_ctl failures on Windows
Следующее
От: Kyotaro Horiguchi
Дата:
Сообщение: Re: Intermittent pg_ctl failures on Windows