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

Lists: Postg토토 사이트SQL : Postg토토 사이트SQL 메일 링리스트 : 2023-07-02 이후 PGSQL-BUGS 06:42
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
Lists: Postg토토 사이트SQL : Postg토토 사이트SQL 메일 링리스트 : 2023-07-02 이후 PGSQL-BUGS 06:42

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.


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
Lists: 503 토토 꽁 머니 페치 실패

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


From: Manika Singhal <manika(dot)singhal(at)enterprisedb(dot)com>
To: matt(dot)feemster(at)gmail(dot)com
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org, Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
Subject: Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++
Date: 2023-07-13 13:05:12
Message-ID: CAB1XC2KqgY9G7mt6+czz1uuz4zqR=1sDAywsKSgo3DPmK9g=gA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: Postg스포츠 토토 베트맨SQL : Postg스포츠 토토 베트맨SQL 메일 링리스트 : 2023-07-13 이후 PGSQL 버그 13:05

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(dot)thakkar(at)enterprisedb(dot)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(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


From: Matt Feemster <matt(dot)feemster(at)gmail(dot)com>
To: Manika Singhal <manika(dot)singhal(at)enterprisedb(dot)com>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org, Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
Subject: Re: BUG #18012: Installer fails to run .bat files when they are registered to Notepad++
Date: 2023-07-14 05:08:29
Message-ID: CAAxJcyMEs8mY2=QyoZk3PP8L6kprf9onVJkVp3vbbR6H-DtnyQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-bugs

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(dot)singhal(at)enterprisedb(dot)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(dot)thakkar(at)enterprisedb(dot)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(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
>
>
>
>

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