Re: Re: ps and psql from PostgreSQL not working with cygwin-1.1.5-2

Поиск
Список
Период
Сортировка
От Jason Tishler
Тема Re: Re: ps and psql from PostgreSQL not working with cygwin-1.1.5-2
Дата
Msg-id 20001106163707.A388@dothill.com
обсуждение исходный текст
Ответ на Re: ps and psql from PostgreSQL not working with cygwin-1.1.5-2  (Jason Tishler <Jason.Tishler@dothill.com>)
Ответы Re: Re: ps and psql from PostgreSQL not working with cygwin-1.1.5-2  (Pete Forman <gsez020@kryten.bedford.waii.com>)
Список pgsql-ports
Sorry for not letting this thread die...

On Sat, Nov 04, 2000 at 01:19:50AM +0100, Corinna Vinschen wrote:
> That's the problem. I thought about changing the behaviour of connect
> two weeks ago. I'm not sure if it makes sense to change the error code
> translation table for exactly that reason: Who knows what that would
> break? Perhaps it's better to change only the connect call to return
> EINPROGRESS. On the other hand Winsock seem to have interchanged the
> meaning of WOULDBLOCK and INPROGRESS (by mistake?). Hmmm.

Can some one very knowledgeable with socket programming (hopefully on
many platforms) please help us out?  Should socket clients (e.g., psql)
be expected to test errno for EWOULDBLOCK (a.k.a EAGAIN) when connect()
returns -1?  Or, should cygwin map EWOULDBLOCK to EINPROGRESS, at least
for connect()?

Thanks,
Jason

--
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com

В списке pgsql-ports по дате отправления:

Предыдущее
От: "Chandra Sekhar . K"
Дата:
Сообщение: RE: Has anybody compiled .c file generated from .pgc file
Следующее
От: lbottorff@harveycounty.com
Дата:
Сообщение: RE: Errors building Postgres on NT