Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++

From: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
To: matt(dot)feemster(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++
Date: 2023-07-04 10:54:47
Message-ID: CANFyU95mWBpTq4UUNuA_nU3O55pn7GDptbOJXZsvu5PONp9SaA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi Matt,

Thanks for reporting the issue and for the analysis. We will look further
and try to address this issue. Thank you

On Mon, Jul 3, 2023 at 4:24 PM PG Bug reporting form <noreply(at)postgresql(dot)org>
wrote:

> The following bug has been logged on the website:
>
> Bug reference: 18012
> Logged by: Matt Feemster
> Email address: matt(dot)feemster(at)gmail(dot)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.
>
>

--
Sandeep Thakkar

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2023-07-04 11:00:01 BUG #18014: Releasing catcache entries makes schema_to_xmlschema() fail when parallel workers are used
Previous Message shveta malik 2023-07-04 03:26:53 Re: Backend handling replication slot stuck using 100% cpu, unkillable