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 CANFyU959RhJvRAY7=8vgN-1f+qKFuK80uFvrR1kMoQMQqzKPQg@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
Hi Thomas,

This issue is seen only on v16 and not the back branches (tested on 15 and 14) and also confirmed by @Ertan Küçükoglu at https://github.com/EnterpriseDB/edb-installers/issues/127#issuecomment-2268371442



On Fri, Aug 2, 2024 at 6:14 PM Sandeep Thakkar <sandeep.thakkar@enterprisedb.com> wrote:


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




--
Sandeep Thakkar


pgsql-general by date:

Previous
From: Lele Gaifax
Date:
Subject: Re: Some links to "previous version" seem wrong
Next
From: Dominique Devienne
Date:
Subject: UPDATE-FROM and INNER-JOIN