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

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: matt(dot)feemster(at)gmail(dot)com
Subject: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++
Date: 2023-07-02 06:42:36
Message-ID: 18012-6401c0f3a5e0bc12@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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.

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David Rowley 2023-07-02 21:53:00 Re: BUG #18002: Duplicate entries of row possible even after having primary key
Previous Message David Rowley 2023-07-01 21:11:37 Re: BUG #18011: Declarative partition privilege problem cause incorrect execution plans