Re: Fwd: Re: A new look at old NFS readdir() problems?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fwd: Re: A new look at old NFS readdir() problems?
Дата
Msg-id 1690546.1736368905@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fwd: Re: A new look at old NFS readdir() problems?  (David Steele <david@pgbackrest.org>)
Список pgsql-hackers
David Steele <david@pgbackrest.org> writes:
> On 1/8/25 12:40, Bruce Momjian wrote:
>> Will people now always get a clear error on failure?  

> The error will be something like "directory is not empty" when trying to 
> drop a database. So not very clear at all.

Conceivably we could adjust rmtree() to print a HINT mentioning that
unsafe network storage is a possible cause of this error.  But I'm
a little worried that that'd be crying wolf, because on most setups
a much more likely explanation is somebody concurrently creating a
file in the targeted directory.

            regards, tom lane



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