pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #18012: Installer fails to run .bat files when they are registered to Notepad++
4+ messages / 4 participants
[nested] [flat]

* BUG #18012: Installer fails to run .bat files when they are registered to Notepad++
@ 2023-07-02 06:42 PG Bug reporting form <noreply@postgresql.org>
  2023-07-04 10:54 ` Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++ Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
  0 siblings, 1 reply; 4+ messages in thread

From: PG Bug reporting form @ 2023-07-02 06:42 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: matt.feemster@gmail.com

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.



^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++
  2023-07-02 06:42 BUG #18012: Installer fails to run .bat files when they are registered to Notepad++ PG Bug reporting form <noreply@postgresql.org>
@ 2023-07-04 10:54 ` Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
  2023-07-13 13:05   ` Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++ Manika Singhal <manika.singhal@enterprisedb.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Sandeep Thakkar @ 2023-07-04 10:54 UTC (permalink / raw)
  To: matt.feemster@gmail.com; pgsql-bugs@lists.postgresql.org

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@postgresql.org>
wrote:

> 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.
>
>

-- 
Sandeep Thakkar

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++
  2023-07-02 06:42 BUG #18012: Installer fails to run .bat files when they are registered to Notepad++ PG Bug reporting form <noreply@postgresql.org>
  2023-07-04 10:54 ` Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++ Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
@ 2023-07-13 13:05   ` Manika Singhal <manika.singhal@enterprisedb.com>
  2023-07-14 05:08     ` Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++ Matt Feemster <matt.feemster@gmail.com>
  0 siblings, 1 reply; 4+ messages in thread

From: Manika Singhal @ 2023-07-13 13:05 UTC (permalink / raw)
  To: matt.feemster@gmail.com; +Cc: pgsql-bugs@lists.postgresql.org, Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>

Hi Matt,
We addressed this issue in our recently released installer with package
revision no.3 (postgresql-15.3-3-windows-x64.exe).

Please try downloading the installer from
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads

 --
Thanks & Regards
Manika Singhal
EDB Pune




On 04-Jul-2023, at 4:24 PM, Sandeep Thakkar <
sandeep.thakkar@enterprisedb.com> wrote:

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@postgresql.org>
wrote:

> 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.
>
>

-- 
Sandeep Thakkar

^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++
  2023-07-02 06:42 BUG #18012: Installer fails to run .bat files when they are registered to Notepad++ PG Bug reporting form <noreply@postgresql.org>
  2023-07-04 10:54 ` Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++ Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
  2023-07-13 13:05   ` Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++ Manika Singhal <manika.singhal@enterprisedb.com>
@ 2023-07-14 05:08     ` Matt Feemster <matt.feemster@gmail.com>
  0 siblings, 0 replies; 4+ messages in thread

From: Matt Feemster @ 2023-07-14 05:08 UTC (permalink / raw)
  To: Manika Singhal <manika.singhal@enterprisedb.com>; +Cc: pgsql-bugs@lists.postgresql.org, Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>

Thank you. I downloaded the new installer, set Notepad++ as the default
handler for .bat files, and ran the installer successfully to completion.
So you can close this ticket.

-Matt

On Thu, Jul 13, 2023 at 7:05 AM Manika Singhal <
manika.singhal@enterprisedb.com> wrote:

> Hi Matt,
> We addressed this issue in our recently released installer with package
> revision no.3 (postgresql-15.3-3-windows-x64.exe).
>
> Please try downloading the installer from
> https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
>
>  --
> Thanks & Regards
> Manika Singhal
> EDB Pune
>
>
>
>
> On 04-Jul-2023, at 4:24 PM, Sandeep Thakkar <
> sandeep.thakkar@enterprisedb.com> wrote:
>
> 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@postgresql.org> wrote:
>
>> 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.
>>
>>
>
> --
> Sandeep Thakkar
>
>
>
>

-- 
*fractorium.com <http://fractorium.com>*

^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2023-07-14 05:08 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-07-02 06:42 BUG #18012: Installer fails to run .bat files when they are registered to Notepad++ PG Bug reporting form <noreply@postgresql.org>
2023-07-04 10:54 ` Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
2023-07-13 13:05   ` Manika Singhal <manika.singhal@enterprisedb.com>
2023-07-14 05:08     ` Matt Feemster <matt.feemster@gmail.com>

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