Re: minor windows & cygwin regression failures on stable branch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: minor windows & cygwin regression failures on stable branch
Дата
Msg-id 14010.1111861323@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: minor windows & cygwin regression failures on stable  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: minor windows & cygwin regression failures on stable  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Well, it seems at least to be running. When I fire up postmaster there 
> are 4 processes running and no indication of failure that I could see on 
> the log. (There is a complaint about failing to dup(0) after 3195 
> successes - I assume that has nothing to do with it?)

No, that's some code that's trying to measure the number of files we are
allowed to open.  It expects to fail, it just thought the particular
errno it got was odd enough to report.  Might be worth an #ifdef to tell
it that that errno is expected on Cygwin?

As far as the test failure, maybe we are just not allowing enough time
for the stats collector to run?  The thing sits there for 2 sec, which
theoretically is plenty, but it's a busy-wait loop and if the Cygwin
scheduler is not aggressive about taking away timeslices then maybe
the stats processes don't get to run.  Try doing the test script by
hand, with just a manual delay instead of the sleep function, and see
if it passes.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: [PATCHES] problem with CR+LF in files in psql \i command
Следующее
От: Tom Lane
Дата:
Сообщение: Re: understanding pg_stat* numbers