Thread: Re: new initdb.c available

Re: new initdb.c available

From
"Zeugswetter Andreas SB SD"
Date:
> . using "wb" for writing out on Windows is so that we don't
> get Windows' gratuitous addition of carriage returns. I will document that.

Please use the #define PG_BINARY_W from c.h which is defined
with the correct letters for all platforms ("wb" on Windows).

That is how Peter's comment was meant.

Andreas


Re: new initdb.c available

From
Andrew Dunstan
Date:
Zeugswetter Andreas SB SD wrote:

>>. using "wb" for writing out on Windows is so that we don't 
>>get Windows' gratuitous addition of carriage returns. I will document that.
>>    
>>
>
>Please use the #define PG_BINARY_W from c.h which is defined
>with the correct letters for all platforms ("wb" on Windows).
>
>That is how Peter's comment was meant.
>
>  
>
Ahh. Ok. thanks.

cheers

andrew