Re: Issue with retry_count in socket.c and fix for the same

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема Re: Issue with retry_count in socket.c and fix for the same
Дата
Msg-id 5384A0B0.9020906@vmware.com
обсуждение исходный текст
Ответ на Re: Issue with retry_count in socket.c and fix for the same  (Heikki Linnakangas <hlinnakangas@vmware.com>)
Список pgsql-odbc
On 05/15/2014 02:25 PM, Heikki Linnakangas wrote:
> I wonder why we need any timeout or retry counters, ever. Frankly, I'm
> inclined to just rip all that out. A timeout would be a useful feature
> for many applications, to detect a broken connection more quickly, but
> the way it's currently implemented is pretty much useless for that. For
> starters, it would have to be configurable, because many applications
> would not want to have a timeout at all. A built-in timeout of 60
> seconds or so, which I think you'd get with your patch, would be too
> short for OLAP kind of queries that can run for hours before returning
> any results.

Ok, I removed the broken logic, for the sake of cleaning up the code. It
still won't give the kind of a timeout that you hoped for, but at least
it's less bogus now.

- Heikki


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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: [ANNOUNCE] psqlODBC 09.03.0300 Released
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Issue with retry_count in socket.c and fix for the same