Re: Bug #889: PQconnectdb SEGV - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Bug #889: PQconnectdb SEGV
Date
Msg-id 29930.1043878857@sss.pgh.pa.us
Whole thread Raw
In response to Bug #889: PQconnectdb SEGV  (pgsql-bugs@postgresql.org)
List pgsql-bugs
pgsql-bugs@postgresql.org writes:
> In the libpq C interface, PQconnectdb results in a SEGV when the conn->sock number is greater than __FD_SETSIZE (1024
onlinux).  The crash is caused by stack corruption when attempting to FD_SET. 

<blink> Shouldn't you be filing this bug against libc?  Seems to me the
left hand is not talking to the right hand, if open() can return FDs
that don't work with select().

            regards, tom lane

pgsql-bugs by date:

Previous
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #889: PQconnectdb SEGV
Next
From: "Jose Manuel"
Date:
Subject: Windows Ports