Re: pipe chunking vs Windows - Mailing list pgsql-hackers

From Andreas Pflug
Subject Re: pipe chunking vs Windows
Date
Msg-id 46AD0FFE.2030504@pse-consulting.de
Whole thread Raw
In response to Re: pipe chunking vs Windows  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: pipe chunking vs Windows  (Andrew Dunstan <andrew@dunslane.net>)
Re: pipe chunking vs Windows  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
Andrew Dunstan wrote:
>
> I have no idea why that's done - it goes back to the origins of the
> syslogger - probably because someone mistakenly thinks all WIndows
> text files have to have CRLF line endings.
>
> I tried changing that to _O_BINARY, and calling _setmode on both the
> pipe before it's duped into stderr and stderr after the dup and both.
> Nothing seemed to work.
AFAIR the flag has to be set again in each child process.

Regards,
Andreas


pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pipe chunking vs Windows
Next
From: Andrew Dunstan
Date:
Subject: Re: pipe chunking vs Windows