| От | Andrew Dunstan |
|---|---|
| Тема | Re: initdb conf-files linebreaks |
| Дата | |
| Msg-id | 417BC568.7040901@dunslane.net обсуждение исходный текст |
| Ответ на | initdb conf-files linebreaks ("Magnus Hagander" <mha@sollentuna.net>) |
| Список | pgsql-patches |
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, and the method is ok, please apply for beta4 so >we can add some nice icons to the win32 installer :-) > > > Assuming this works, the far simpler change would (or should) be to open the file with "w" rather than PG_BINARY_W in all cases. I don't know what Windows editors other than Notepad don't understand line feeds properly - Wordpad at least does, as well as every editor I actually use on Windows. cheers andrew
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера