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

Re: pipe chunking vs Windows

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
Cc: "korry(dot)douglas" <korry(dot)douglas(at)enterprisedb(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pipe chunking vs Windows
Date: 2007-07-29 22:19:35
Message-ID: 46AD1277.6030403@dunslane.net (view raw or flat)
Thread:
Lists: pgsql-hackers

Andreas Pflug wrote:
> 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.
>
>
>   
Thanks. I'll try that.

cheers

andrew

In response to

Responses

pgsql-hackers by date

Next:From: Andreas PflugDate: 2007-07-29 22:23:23
Subject: Re: pipe chunking vs Windows
Previous:From: Andreas PflugDate: 2007-07-29 22:09:02
Subject: Re: pipe chunking vs Windows

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