Re: pgwin32_open returning EINVAL

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgwin32_open returning EINVAL
Дата
Msg-id 18938.1197775898@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgwin32_open returning EINVAL  (Gregory Stark <stark@enterprisedb.com>)
Ответы Re: pgwin32_open returning EINVAL  (Gregory Stark <stark@enterprisedb.com>)
Re: pgwin32_open returning EINVAL  (Magnus Hagander <magnus@hagander.net>)
Список pgsql-hackers
Gregory Stark <stark@enterprisedb.com> writes:
> "Andrew Dunstan" <andrew@dunslane.net> writes:
>> Interesting. Maybe forever is going a bit too far, but retrying for <n>
>> seconds or so.

> I think looping forever is the right thing. Having a fixed timeout just means
> Postgres will break sometimes instead of all the time. And it introduces
> non-deterministic behaviour too.

Looping forever would be considered broken by a very large fraction of
the community.

IIRC we have a 30-second timeout in rename() for Windows, and that seems
to be working well enough, so I'd be inclined to copy the behavior for
this case.
        regards, tom lane


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

Предыдущее
От: "ivo nascimento"
Дата:
Сообщение: stored procedures to webservices
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: stored procedures to webservices