Re: stats test on Windows is now failing repeatably?

Поиск
Список
Период
Сортировка
От ITAGAKI Takahiro
Тема Re: stats test on Windows is now failing repeatably?
Дата
Msg-id 20060830112649.573C.ITAGAKI.TAKAHIRO@oss.ntt.co.jp
обсуждение исходный текст
Ответ на stats test on Windows is now failing repeatably?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: stats test on Windows is now failing repeatably?
Список pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> wrote:

> I just looked over the buildfarm results and was struck by the
> observation that the stats regression test, which lately had been
> failing once-in-a-while on Windows and never anywhere else, has a
> batting average of 0-for-10-or-so over the past 24 hours on the Windows
> buildfarm machines.

I tested HEAD on Windows and saw some Windows-specific logs.

LOG:  Windows fopen("base/16384/pg_internal.init","rb") failed: code 2, errno 2
LOG:  Windows fopen("global/pgstat.stat","rb") failed: code 32, errno 13

The code 2 means ERROR_FILE_NOT_FOUND, "The system cannot find the file
specified." and the code 32 means ERROR_SHARING_VIOLATION, "The process
cannot access the file because it is being used by another process."

We use the tmpfile-and-rename trick on both pg_internal.init and pgstat.stat.
Are there any incompatible behavior in the trick between POSIX and Windows?

Regards,
---
ITAGAKI Takahiro
NTT Open Source Software Center




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

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Santa Clara Pg Training Event
Следующее
От: Tom Lane
Дата:
Сообщение: Re: TODO Request