Re: new initdb.c available - Mailing list pgsql-hackers

From Zeugswetter Andreas SB SD
Subject Re: new initdb.c available
Date
Msg-id 46C15C39FEB2C44BA555E356FBCD6FA4962031@m0114.s-mxs.net
Whole thread Raw
In response to new initdb.c available  ("Andrew Dunstan" <andrew@dunslane.net>)
Responses Re: new initdb.c available  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
> . 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


pgsql-hackers by date:

Previous
From: Manfred Koizar
Date:
Subject: Re: Cannot dump/restore text value \N
Next
From: "Robert E. Bruccoleri"
Date:
Subject: Compilation of PostgreSQL on Irix