Re: FD_SETSIZE with large #s of files/ports in use - Mailing list pgsql-odbc

From B. Nicholson
Subject Re: FD_SETSIZE with large #s of files/ports in use
Date
Msg-id 4BF47E78.1000804@niceng.com
Whole thread Raw
In response to Re: FD_SETSIZE with large #s of files/ports in use  (Hiroshi Inoue <inoue@tpf.co.jp>)
Responses Re: FD_SETSIZE with large #s of files/ports in use
List 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 by date:

Previous
From: Hiroshi Inoue
Date:
Subject: Re: FD_SETSIZE with large #s of files/ports in use
Next
From: Tom Lane
Date:
Subject: Re: FD_SETSIZE with large #s of files/ports in use