Re: [PATCHES] initdb conf-files linebreaks

2004-10-24 Thread Tom Lane
"Magnus Hagander" <[EMAIL PROTECTED]> writes: > That does seem to work, yes. I thought there was some magic reason we > were using PG_BINARY_W and not "w".. Assuming there isn't, attached > patch is certainly cleaner. Looks reasonable to me. Patch applied. regards, tom la

Re: [PATCHES] initdb conf-files linebreaks

2004-10-24 Thread Andrew Dunstan
Magnus Hagander wrote: Attached patch makes initdb generate the config files with windows linebreaks when running on windows. This makes it a lot easier for the user to edit the configuration files, since any win32 plaintext editor can be used (such as notepad for example). If this is acceptable,

Re: [PATCHES] initdb conf-files linebreaks

2004-10-24 Thread Magnus Hagander
>>Attached patch makes initdb generate the config files with windows >>linebreaks when running on windows. This makes it a lot easier for the >>user to edit the configuration files, since any win32 plaintext editor >>can be used (such as notepad for example). >> >>If this is acceptable, and the met

Re: [PATCHES] initdb conf-files linebreaks

2004-10-24 Thread Andrew Dunstan
Magnus Hagander wrote: Attached patch makes initdb generate the config files with windows linebreaks when running on windows. This makes it a lot easier for the user to edit the configuration files, since any win32 plaintext editor can be used (such as notepad for example). If this is acceptable,