pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: matt.feemster@gmail.com
Subject: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++
Date: Sun, 02 Jul 2023 06:42:36 +0000
Message-ID: <18012-6401c0f3a5e0bc12@postgresql.org> (raw)

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.



view thread (4+ messages)  latest in thread

Message-ID: <18012-6401c0f3a5e0bc12@postgresql.org>
Permalink:  ../18012-6401c0f3a5e0bc12@postgresql.org/
Also on:    postgresql.org/message-id/18012-6401c0f3a5e0bc12@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, matt.feemster@gmail.com
  Subject: Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++
  In-Reply-To: <18012-6401c0f3a5e0bc12@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox