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

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 (view raw or flat)
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

pgsql-hackers-win32 by date

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

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