BUG #18012: Installer fails to run .bat files when they are registered to Notepad++
В списке pgsql-bugs по дате отправления:
| От | PG Bug reporting form |
|---|---|
| Тема | BUG #18012: Installer fails to run .bat files when they are registered to Notepad++ |
| Дата | |
| Msg-id | 18012-6401c0f3a5e0bc12@postgresql.org обсуждение исходный текст |
| Ответы |
Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++
|
| Список | pgsql-bugs |
The following bug has been logged on the website: Bug reference: 18012 Logged by: Matt Feemster Email address: matt.feemster@gmail.com PostgreSQL version: 15.3 Operating system: Windows 10 Pro Description: When running the installer it proceeds until just about the end, then hangs indefinitely trying to initialize the database. I noticed that when this happened, Notepad++ would open two .bat temporary batch files. I realized that the .bat file extension was registered to be opened with Notepad++, which caused the scripts not to be run, but rather just opened as text. Once I de-registered Notepad++ as the default program for .bat files, the installer completed successfully. I think you may need to explicitly use cmd.exe to run the .bat files, rather than just "opening" them.
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера