Re: stderr piping under win32

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: stderr piping under win32
Date: 2004-07-30 14:37:09
Message-ID: 410A5D15.7030006@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers-win32

Claudio Natoli wrote:
>
>
> IIRC, it is because the handles returned by the pipe call are later
> select()'d on with other sockets, which is not possible with handles
> returned by _pipe.

That's true, select() is not possible on file and pipe handles. To
achieve wait-and-timeout, WaitForSingleObject is necessary, which will
take a different handle type than _pipe delivers. Well, Tom already made
some comments on M$'s standard compliance...

Regards,
Andreas

In response to

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Bruno Wolff III 2004-07-30 15:30:49 Re: [ADMIN] Secure DB Systems - How to
Previous Message Claudio Natoli 2004-07-30 11:50:37 Re: stderr piping under win32