Re: Should we remove "not fast" promotion at all?

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Should we remove "not fast" promotion at all?
Дата
Msg-id CAB7nPqT6wtNO-UOnUTWU0g93E3h6obJ-LFVEJ5yrdFgxJx3wgA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Should we remove "not fast" promotion at all?  (Fujii Masao <masao.fujii@gmail.com>)
Список pgsql-hackers
On Tue, Aug 6, 2013 at 12:41 PM, Fujii Masao <masao.fujii@gmail.com> wrote:
>> -
>> +               unlink(PROMOTE_SIGNAL_FILE);
>> Wouldn't it make sense to keep the call to stat() to check the file
>> status before unlinking it?
>
> Why do we need to check the existence of the file before removing it
> here?
Forget what I said, I had in mind that it might have been better to
put in silence errors of unlink here. This is not mandatory.
-- 
Michael



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Should we remove "not fast" promotion at all?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Should we remove "not fast" promotion at all?