Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sVs43-00C5eu-84 for pgsql-general@arkaria.postgresql.org; Mon, 22 Jul 2024 12:22:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sVs40-000oQX-GG for pgsql-general@arkaria.postgresql.org; Mon, 22 Jul 2024 12:22:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sVs40-000oQP-3Q for pgsql-general@lists.postgresql.org; Mon, 22 Jul 2024 12:22:48 +0000 Received: from mail-ua1-x931.google.com ([2607:f8b0:4864:20::931]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sVs3y-000rzu-DU for pgsql-general@lists.postgresql.org; Mon, 22 Jul 2024 12:22:47 +0000 Received: by mail-ua1-x931.google.com with SMTP id a1e0cc1a2514c-8225a1f4d5fso1009847241.0 for ; Mon, 22 Jul 2024 05:22:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1721650965; x=1722255765; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zg5iSukzFkyTMnEgmNSsCC1oa2Rg6gjvPgcnheNt+WU=; b=FC09tCDAa1rFvVvkGX2aPqhsNpf3JLgE+gT1ncWj1okqweJAfcRS+jK/U+0RXC6kvX mUZhQVr2boHQTQ3OtD1dO++zbAfAMS0jPkSd0Nlaz0idARckgQfSTqsIIRMod5myQEo8 n13mlLcRXisHidflhoLJtq+LASF6MU6e4hqXADezlqt5MdYrO9k67BiXrzK5o8M/exXB GsfkSBwUeUmW/vngCNlFpiKqPWa8bvV0NjPtIyC5lLpXS0UzyD7PxefkS7cx4qGpo1vC uh+I8cHLsqhVLMpX6/AjIUtFy/gNPyyR4157punzqI1//gwoCqbTSL0Odedsl8jkT6QS lIRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721650965; x=1722255765; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=zg5iSukzFkyTMnEgmNSsCC1oa2Rg6gjvPgcnheNt+WU=; b=a2AAGneZPc1n/DE+yrPSw8gJJhoP7TEo9V2KqhjcVJSGzI3luo8z46rljUKDk06U5a PjIgdpuodjy80KtXMonL3UAFWG3UYHRRaXjmD8ZiOm9u1TrFnEKk0PTptZGAjj39jyNs 49MppYJV43dU1mRq6KX4KW0M/ShnGA0RQaCnfqWA/FINLxxH+9xXdt8hc62onNAtjWmR g2r16XowKN85VPHBkodfVmxaySuQZqKLjQgDR8hIbZY8is31bVYO2OHo07kF1fjZPcGO ynTYpzA8N7A2g+U7evG3h3cvd4uyS24FQn4H/1byuDzkNLeQdzgD5oWbEHldp1scwanc nckg== X-Forwarded-Encrypted: i=1; AJvYcCUFa76n6EMRIkPXlv31TmVZZgldFixlKCTl4MTV6ceigaTE9kPb4nXz4Is+D1gDPxVxwNgi33JMIKPpirO8Ozxg1wIbCXW22OFPiIIqndsTu1rW X-Gm-Message-State: AOJu0YwNPg+Nbg9O2BUkAh0+VCra9YtnJbqf7tBb7YJCUQPa+cP3aukV uOq+T/2szHskHzlu6xs88od8Z8UbB8eLcY2wZ+KHhshbWH+O1QJCClRDwYsS/DwgaXMAu3Ct4Mj VOgOSekHXOc8RpbLuFoF4DDQItfw= X-Google-Smtp-Source: AGHT+IGEs3betN6QmUuO2bZ2DCQvltz+HZDcAcLyX0ZDVfI6svOxdnk5H4szcEipz9aMcO35n2Gw5VjPVZMRnE+kXWI= X-Received: by 2002:a05:6102:160f:b0:48f:2404:ea7d with SMTP id ada2fe7eead31-49283e48826mr4965393137.13.1721650964832; Mon, 22 Jul 2024 05:22:44 -0700 (PDT) MIME-Version: 1.0 References: <80c9b0ea-c874-40ad-a006-fb1eb37464c2@aklaver.com> <44b44ece-dce6-4b4f-b751-8787a5a071e0@aklaver.com> In-Reply-To: From: =?UTF-8?B?RXJ0YW4gS8O8w6fDvGtvZ2x1?= Date: Mon, 22 Jul 2024 15:22:34 +0300 Message-ID: Subject: Re: Windows installation problem at post-install step To: Sandeep Thakkar Cc: Thomas Munro , Adrian Klaver , pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="0000000000002fa750061dd51ab5" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000002fa750061dd51ab5 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sandeep Thakkar , 22 Tem 2024 Pzt, 15:01 tarihinde =C5=9Funu yazd=C4=B1: > > 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=C3=BCrkiy= e" 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. Thanks & Regards, Ertan --0000000000002fa750061dd51ab5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sandeep Thakkar <sandeep.thakkar@enterprisedb.com>, 22= Tem 2024 Pzt, 15:01 tarihinde =C5=9Funu yazd=C4=B1:
<= br>
When I checked the installation l= og shared by Ertan, I do see that the locale passed=C2=A0to initcluster scr= ipt is the same as returned by the getlocales executable.

Execu= ting C:\Windows\System32\cscript //NoLogo "C:\Program Files\PostgreSQL= \16/installer/server/initcluster.vbs" "NT AUTHORITY\NetworkServic= e" "postgres" "****" "C:\Users\User1\AppData\= Local\Temp/postgresql_installer_cd79fad8b7" "C:\Program Files\Pos= tgreSQL\16" "C:\DATA_PG16" 5432 "Turkish,T=C3=BCrkiye&q= uot; 0

That is log file l= ine 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 corre= ct just before initdb
Maybe this is related to BAT file usage? I = don't know.

Thanks &=C2=A0Regards,
Ertan
--0000000000002fa750061dd51ab5--