Re: Windows installation problem at post-install step - Mailing list pgsql-general

From Sandeep Thakkar
Subject Re: Windows installation problem at post-install step
Date
Msg-id CANFyU94yoUCYovEZ9By2cpRbHsziRqndfPZ5qiTRD24CM57cEg@mail.gmail.com
Whole thread Raw
In response to Re: Windows installation problem at post-install step  (Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>)
Responses Re: Windows installation problem at post-install step
List pgsql-general


On Mon, Jul 22, 2024 at 6:10 PM Sandeep Thakkar <sandeep.thakkar@enterprisedb.com> wrote:


On Mon, Jul 22, 2024 at 5:52 PM Ertan Küçükoglu <ertan.kucukoglu@gmail.com> wrote:
Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>, 22 Tem 2024 Pzt, 15:01 tarihinde şunu yazdı:

When I checked the installation log shared by Ertan, I do see that the locale passed to initcluster script is the same as returned by the getlocales executable.

Executing C:\Windows\System32\cscript //NoLogo "C:\Program Files\PostgreSQL\16/installer/server/initcluster.vbs" "NT AUTHORITY\NetworkService" "postgres" "****" "C:\Users\User1\AppData\Local\Temp/postgresql_installer_cd79fad8b7" "C:\Program Files\PostgreSQL\16" "C:\DATA_PG16" 5432 "Turkish,Türkiye" 0

That is log file line no 5544 and is cscript logging. There is no problem here.
If you check log file line no 5606 you will see that the encoding is not correct just before initdb
Maybe this is related to BAT file usage? I don't know.

Ah, I see it now. Let me take a closer look

That line gets printed from within the initdb and is not printed by the script. 
@Thomas Munro  I may be wrong but I guess fixing the code might fix this. 
Can you please share your patch so that I apply it on top of the last released
source version, generate the installer and confirm the behaviour? 

 
Thanks & Regards,
Ertan


--
Sandeep Thakkar




--
Sandeep Thakkar


pgsql-general by date:

Previous
From: Kashif Zeeshan
Date:
Subject: Re: PgBackRest PTR recovery: After table drop to get dropped state
Next
From: Ron Johnson
Date:
Subject: Re: Impact from removal of pgadmin4