Skip site navigation (1) Skip section navigation (2)

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

From: Hiroshi Inoue <inoue(at)tpf(dot)co(dot)jp>
To: Barry Nicholson <b(dot)nicholson(at)niceng(dot)com>
Cc: pgsql-odbc(at)postgresql(dot)org
Subject: Re: FD_SETSIZE with large #s of files/ports in use
Date: 2010-05-19 23:44:26
Message-ID: 4BF477DA.8000208@tpf.co.jp (view raw or flat)
Thread:
Lists: pgsql-odbc
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

Attachment: socket.diff
Description: text/plain (3.4 KB)

In response to

Responses

pgsql-odbc by date

Next:From: B. NicholsonDate: 2010-05-20 00:12:40
Subject: Re: FD_SETSIZE with large #s of files/ports in use
Previous:From: Hiroshi InoueDate: 2010-05-19 21:39:56
Subject: Re: FD_SETSIZE with large #s of files/ports in use

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group