Re: Race condition in pg_database_size()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Race condition in pg_database_size()
Дата
Msg-id 17038.1173547924@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Race condition in pg_database_size()  (Michael Fuhr <mike@fuhr.org>)
Ответы Re: Race condition in pg_database_size()  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-hackers
Michael Fuhr <mike@fuhr.org> writes:
> I'm wondering if the code should check for ENOENT if stat() fails
> and either skip this entry silently under the assumption that the
> file had been deleted since the call to ReadDir(),

Probably.  Want to look through the rest of that module for similar
problems?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Bug in VACUUM FULL ?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: what can be wrong? backport plpgpsm to 8.1