Re: FD_SETSIZE with large #s of files/ports in use

Поиск
Список
Период
Сортировка
От B. Nicholson
Тема Re: FD_SETSIZE with large #s of files/ports in use
Дата
Msg-id 4BF47E78.1000804@niceng.com
обсуждение исходный текст
Ответ на Re: FD_SETSIZE with large #s of files/ports in use  (Hiroshi Inoue <inoue@tpf.co.jp>)
Ответы Re: FD_SETSIZE with large #s of files/ports in use  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-odbc
Yes, we'll try the patch in the morning.

Tom, what libc details will be broken by setting FD_SETSIZE to a larger number?   I'm curious for my own knowledge base.   I can see where it might cause 'data' sizes to grow which might break thinks.  Anything else?

Barry Nicholson

On 05/19/2010 06:44 PM, Hiroshi Inoue wrote:
Hiroshi Inoue wrote:
Hiroshi Inoue wrote:
Hi,

Could you please try the attached patch?

Oops it doesn't seem to work.
Another way is to use poll() instead of select().

OK I made a patch to use poll().
Please #define HAVE_POLL e.g. in config.h and try the attached patch.

regards,
Hiroshi Inoue

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

Предыдущее
От: Hiroshi Inoue
Дата:
Сообщение: Re: FD_SETSIZE with large #s of files/ports in use
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FD_SETSIZE with large #s of files/ports in use