Re: Race condition in pg_database_size()

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Race condition in pg_database_size()
Дата
Msg-id 20070311045732.GA95013@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: Race condition in pg_database_size()  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Race condition in pg_database_size()  (Alvaro Herrera <alvherre@commandprompt.com>)
Список pgsql-hackers
On Sat, Mar 10, 2007 at 05:39:37PM -0500, Tom Lane wrote:
> Michael Fuhr <mike@fuhr.org> writes:
> > I'll submit a patch -- any preferences for silent continuation vs.
> > continuation with a notice or warning?
> 
> I think silent is fine for ENOENT cases.  We know the file had been
> there at ReadDir time, so the only possible conclusion is that it was
> just unlinked, and I see no reason to complain about that.

Patch submitted.

-- 
Michael Fuhr


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

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: Re: Why is this allowed?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: Race condition in pg_database_size()