Re: pg_regress.sh startup failure patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_regress.sh startup failure patch
Дата
Msg-id 12844.1010071685@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pg_regress.sh startup failure patch  (Jason Tishler <jason@tishler.net>)
Ответы Re: pg_regress.sh startup failure patch  (Jason Tishler <jason@tishler.net>)
Список pgsql-patches
Jason Tishler <jason@tishler.net> writes:
> Unfortunately, pg_regress.sh fails under Cygwin as follows:
> The attached patch "solves" the problem.

Why would it take more than 3 seconds to start the postmaster under
Cygwin?  Something awfully fishy about that, unless you're using
a 286 ...

I didn't much care for the arbitrary delay in the first place, and
raising it to 10 sec is even less palatable.  Perhaps

    until psql ...args... </dev/null 2>/dev/null
    do
        sleep 1
    done

although it might also be prudent to refuse to loop more than a couple
dozen times.

            regards, tom lane

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

Предыдущее
От: Gavin Sherry
Дата:
Сообщение: Re: [HACKERS] Updated TODO item
Следующее
От: Dave Page
Дата:
Сообщение: Re: pg_regress.sh startup failure patch