Re: drop tablespace error: invalid argument

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: drop tablespace error: invalid argument
Дата
Msg-id 9549.1252698175@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: drop tablespace error: invalid argument  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: drop tablespace error: invalid argument  ("David E. Wheeler" <david@kineticode.com>)
Список pgsql-hackers
I wrote:
> Jan Otto <asche@me.com> writes:
>> The bug in readdir() appeared in the final snow leopard too. Anybody
>> with Snow Leopard installed can check this, with simply doing the
>> regression tests (make check). The tablespace regression test is
>> failing.

>> The patch i sent in works around the issue. if it is not acceptable to
>> reread the tablespace-directory after every delete i can rewrite the
>> workaround.  Probably it is preferred that we write all entries of the
>> directory into an array and looping through that array after that
>> instead of looping with ReadDir()?

> I'm not really eager to put in a workaround for such a basic OS bug,
> especially not when the odds are good that it'll be fixed in 10.6.1.
> Let's wait a little bit for Apple to get their act together.

Well, 10.6.1 is out and it's still got the readdir() bug :-(.

It's likely that there'll be a 10.6.2 before very long, but I wonder if
we should go ahead with some sort of hack; at least as a temporary fix
in CVS HEAD so that we can get more useful buildfarm reports from Snow
Leopard machines.

Comments?
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: On Windows, when a file is deleted and another process still has
Следующее
От: Robert Haas
Дата:
Сообщение: Re: COPY enhancements