On Mon, Jul 22, 2024 at 6:10 PM Sandeep Thakkar <sandeep.thakkar@xxxxxxxxxxxxxxxx> wrote:
On Mon, Jul 22, 2024 at 5:52 PM Ertan Küçükoglu <ertan.kucukoglu@xxxxxxxxx> wrote:Sandeep Thakkar <sandeep.thakkar@xxxxxxxxxxxxxxxx>, 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" 0That 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 initdbMaybe 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