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

From: "B(dot) Nicholson" <b(dot)nicholson(at)niceng(dot)com>
To: pgsql-odbc(at)postgresql(dot)org
Subject: Re: FD_SETSIZE with large #s of files/ports in use
Date: 2010-05-20 00:12:40
Message-ID: 4BF47E78.1000804@niceng.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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
>
>
>
>

In response to

Responses

Browse pgsql-odbc by date

  From Date Subject
Next Message Tom Lane 2010-05-20 13:29:43 Re: FD_SETSIZE with large #s of files/ports in use
Previous Message Hiroshi Inoue 2010-05-19 23:44:26 Re: FD_SETSIZE with large #s of files/ports in use