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

Re: stderr piping under win32

From: Claudio Natoli <claudio(dot)natoli(at)memetrics(dot)com>
To: 'Andreas Pflug' <pgadmin(at)pse-consulting(dot)de>,Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: 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 11:50:37
Message-ID: A02DEC4D1073D611BAE8525405FCCE2B55F52D@harris.memetrics.local (view raw or flat)
Thread:
Lists: pgsql-hackers-win32
Andreas Pflug writes:
> I wonder why pgpipe is implemented like this, maybe 
> because the initial coder didn't know how to inherit handles 
> obtained by _pipe(...).

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.

Cheers,
Claudio

--- 
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see 
<a
href="http://www.memetrics.com/emailpolicy.html">http://www.memetrics.com/em
ailpolicy.html</a>

Responses

pgsql-hackers-win32 by date

Next:From: Andreas PflugDate: 2004-07-30 14:37:09
Subject: Re: stderr piping under win32
Previous:From: Daniel StruckDate: 2004-07-30 09:43:31
Subject: Re: [ADMIN] Secure DB Systems - How to

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