Re: Windows installation problem at post-install step

Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>

From: Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>
To: Ertan Küçükoglu <ertan.kucukoglu@gmail.com>
Cc: Thomas Munro <thomas.munro@gmail.com>, Adrian Klaver <adrian.klaver@aklaver.com>, pgsql-general@lists.postgresql.org
Date: 2024-08-05T08:50:10Z
Lists: 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 <ertan.kucukoglu@gmail.com> 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 <thomas.munro@gmail.com>  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

Commits

  1. Windows support in pg_import_system_collations