pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hiroshi Inoue <inoue@tpf.co.jp>
Cc: Barry Nicholson <b.nicholson@niceng.com>
Cc: pgsql-odbc@postgresql.org
Subject: Re: FD_SETSIZE with large #s of files/ports in use
Date: Wed, 19 May 2010 15:39:24 -0400
Message-ID: <23613.1274297964@sss.pgh.pa.us> (raw)
In-Reply-To: <4BF35CC2.2010801@tpf.co.jp>
References: <c9c581e2e762ff7fbaba414b2bb54d98@niceng.com>
	<4BF32A8E.3030900@tpf.co.jp>
	<4BF35CC2.2010801@tpf.co.jp>

Hiroshi Inoue <inoue@tpf.co.jp> writes:
> Another way is to use poll() instead of select().

You really need to go in that direction.  Changing FD_SETSIZE is
completely unworkable --- it will break various libc ABI details.

			regards, tom lane



view thread (10+ messages)  latest in thread

Message-ID: <23613.1274297964@sss.pgh.pa.us>
Permalink:  ../23613.1274297964@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23613.1274297964@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, inoue@tpf.co.jp, b.nicholson@niceng.com
  Subject: Re: FD_SETSIZE with large #s of files/ports in use
  In-Reply-To: <23613.1274297964@sss.pgh.pa.us>
  References: <c9c581e2e762ff7fbaba414b2bb54d98@niceng.com> <4BF32A8E.3030900@tpf.co.jp> <4BF35CC2.2010801@tpf.co.jp> <23613.1274297964@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox