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 1sZrep-004bh0-JY for pgsql-general@arkaria.postgresql.org; Fri, 02 Aug 2024 12:45:19 +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 1sZren-00HMKC-2v for pgsql-general@arkaria.postgresql.org; Fri, 02 Aug 2024 12:45:17 +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 1sZrem-00HMK3-Lo for pgsql-general@lists.postgresql.org; Fri, 02 Aug 2024 12:45:16 +0000 Received: from mail-yb1-xb2d.google.com ([2607:f8b0:4864:20::b2d]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sZref-002lzC-KQ for pgsql-general@lists.postgresql.org; Fri, 02 Aug 2024 12:45:15 +0000 Received: by mail-yb1-xb2d.google.com with SMTP id 3f1490d57ef6-e0b7efa1c1bso5702403276.3 for ; Fri, 02 Aug 2024 05:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1722602707; x=1723207507; 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=bP4qV3Bd/dVglzVjp77Z1+qb7g9V8EEquKcXSA8ZqHQ=; b=ba/6WlbYRJfrAhQBfc8CduXHq5eRoLJQocllrCHJYthJ2/munpJ/eN3/kyXXqVfCq7 xcQ9jnre6LZaU6Qt98MteUzb4dsoUH6pq5DgiZwvXyfVg07wkDGx3ckIGzLKlwKsL23T 4WqTlaZGLr5PKPkQjxwIBMIOqjlYB5avVhtLJ1PlSpDUbd2Vlb/ygoEQ434blz5jfZhb Ac4ZO2yq13HYBmugDa6MZAsk9/yBz1lZAwTKD58AYSkay3QXVDakTMT0HPMWg0zDBL4o 7kgixMdDM25C0iSzMmlNXoTv52K/l5P44WUHlT/fPECHxBjNLBKfv8SAOI8hArMqAUkE q4nA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1722602707; x=1723207507; 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=bP4qV3Bd/dVglzVjp77Z1+qb7g9V8EEquKcXSA8ZqHQ=; b=XZeLJ0Uq7nSDXBlq3TKeWCePoK4P61+Rubn2zqaNsOygXlCG48rqTViURgTT4SEZTe IhslyOe1zPH+ovrAy1QIbAnpvHNnCrpHPFOUmpgs/zqlW3Ct36Z2ZoZ3J1STeApPNTyS VsSMBeVyGw63lvOOjynelFfFlxR1GHsKi93x5NYzdqX9gADkGEIHFezfWizk+FkgRf1c PKq4keNaFEF90Z9WxBBRXkBG5JYoTBgHo0XKYgv6LmaTUjX1nvVpxEseCQc27LJRbYiq bCzBnSxqEE2Ae/Tr26Qh2MXO8TIByb6qPC7VgHBHb4OL9u3e31ByOSdKYMIK44H35m3I Ostw== X-Forwarded-Encrypted: i=1; AJvYcCWnD0e7YuqGK4qqWXsRtZPABFa0ZhPpL5GKA1OpTFwyMrNuUXokG+BEOvRJM4ekz4jr1e4036XCc602B6kYYDFnM1eK0URgF6xMSbG1xYm5jCc8 X-Gm-Message-State: AOJu0Yy6MKYtfbmtpDcoQ08XC2Xe5FHAfiXYfhJWZTXRz1nWTnf4u7CM 4LMX2iTKcCF1wuOQUd5KENth1nhMS55gBPueEQOMUH61auPUi3cTpkgBcMr+oyW4jNj8pcb2wNc iYYUaTYFstKai9NEf9D1ofFZ+DiUpkOGEGBux X-Google-Smtp-Source: AGHT+IEuqViU+F1Cib+Vlt6f24CSMasWAnzyH2+S3aX9SxEYoSelYz0LS+gtuUeR/j5lYY+eQyD1UbI33uiKs3YfTKY= X-Received: by 2002:a05:6902:120a:b0:e0b:eb06:58c4 with SMTP id 3f1490d57ef6-e0beb067d4emr1577194276.31.1722602707025; Fri, 02 Aug 2024 05:45:07 -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: Sandeep Thakkar Date: Fri, 2 Aug 2024 18:14:50 +0530 Message-ID: Subject: Re: Windows installation problem at post-install step To: =?UTF-8?B?RXJ0YW4gS8O8w6fDvGtvZ2x1?= Cc: Thomas Munro , Adrian Klaver , pgsql-general@lists.postgresql.org Content-Type: multipart/alternative; boundary="000000000000711a59061eb2b26b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000711a59061eb2b26b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Jul 22, 2024 at 6:10=E2=80=AFPM Sandeep Thakkar < sandeep.thakkar@enterprisedb.com> wrote: > > > On Mon, Jul 22, 2024 at 5:52=E2=80=AFPM Ertan K=C3=BC=C3=A7=C3=BCkoglu > wrote: > >> 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=BCrk= iye" 0 >>> >> >> That is log file line no 5544 and is cscript logging. There is no proble= m >> 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 > > > --=20 Sandeep Thakkar --000000000000711a59061eb2b26b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


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


On Mon, Jul 22, 2= 024 at 5:52=E2=80=AFPM Ertan K=C3=BC=C3=A7=C3=BCkoglu <ertan.kucukoglu@gmail.com= > wrote:
Sandeep Thakkar <sandeep.thakkar@enterprisedb.c= om>, 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=C2=A0to i= nitcluster script is the same as returned by the getlocales executable.
=
Executing C:\Windows\System32\cscript //NoLogo "C:\Program Fi= les\PostgreSQL\16/installer/server/initcluster.vbs" "NT AUTHORITY= \NetworkService" "postgres" "****" "C:\Users\= User1\AppData\Local\Temp/postgresql_installer_cd79fad8b7" "C:\Pro= gram Files\PostgreSQL\16" "C:\DATA_PG16" 5432 "Turkish,= T=C3=BCrkiye" 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 encodin= g 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 no= t printed by the script.=C2=A0
@Thomas M= unro=C2=A0 I may be wrong but I guess fixing the code might fix this.= =C2=A0
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 beh= aviour?=C2=A0

=C2=A0
Thanks &=C2=A0Regards,
Ertan=


--
Sandeep Thakkar




--
Sandeep Thakkar


--000000000000711a59061eb2b26b--