Joshua Tolley wrote:
> On Sat, Sep 26, 2009 at 11:43:46AM -0400, Tom Lane wrote:
>
>> complete but more complex solution. (dup2 works on Windows, no?)
>>
>
> Unless I'm misreading syslogger.c, dup2() gets called on every platform.
>
Yes. Windows supports dup2(). See for example
<http://msdn.microsoft.com/en-us/library/8syseb29(VS.80).aspx>
cheers
andrew