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 1sVsLL-00C7BM-7C for pgsql-general@arkaria.postgresql.org; Mon, 22 Jul 2024 12:40:43 +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 1sVsLJ-001C6f-CH for pgsql-general@arkaria.postgresql.org; Mon, 22 Jul 2024 12:40:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sVsLI-001C5N-TQ for pgsql-general@lists.postgresql.org; Mon, 22 Jul 2024 12:40:41 +0000 Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sVsLG-000rLp-9r for pgsql-general@lists.postgresql.org; Mon, 22 Jul 2024 12:40:39 +0000 Received: by mail-yb1-xb32.google.com with SMTP id 3f1490d57ef6-e04196b7603so3778480276.0 for ; Mon, 22 Jul 2024 05:40:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1721652037; x=1722256837; 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=9KiaG1DmX7jBV3iKguD0goZU9EqwfR7jpWGD8zvkXH4=; b=MMaeE3VTNpiU7ao0PiLGqmonFOTJDeEjV2ztr+7b/zCAbRCw9ILPxU4OD+3oFUTXky bEnYdS0TXLRbxQBqAWFTCEMWMcrTnaXCHaIBBS7qMSVx4KwnAbEmm1gNGgOZQqiJI3Ds 5/lXqeFObQe1aWtAKMtetWFXhgQzWVTqBnK9P6WMaHksRtaoRNoIzgOzMx7nhGHTltDM +XWFVH+6JgiYhAS0v1tEki2pkt35/XehPKG1ouqwHTH8pdYNByHegthnqRaOSiDuI3uF BlegAU632m0lV+0OhusBbd4rwYAIoi7/QXzwPzKXYWDTqoVVntzp0j6s3oj/ovdDSyoA Vb4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1721652037; x=1722256837; 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=9KiaG1DmX7jBV3iKguD0goZU9EqwfR7jpWGD8zvkXH4=; b=imnb9dyHfMe5cP5mS3v6J886m26R0lFyN6tQPtZ9SHm2s3SNfCVGL2fRStB36C2/bU IW4DkDruP2iiREqCUs60RyHMfc6tPEMKa9439Ty3L4yWOSQixOF70XsdqqySgkcv475S 3PmBX1OqIEOH6YZEkTmyrOsPiChi+DRJqueMEVermlmpP1vsfQoJ2gxFHmMrmbHIquXv DVvkLv1zxMZq3t5VYBXQQtPgLlrQKlhHMuLCqlwSFnjjHB+ttC5HFY4nCpvyQyoe6Lb8 KNv6Z1CVRfYX2UnGBFeRvr9wac8WlRjwsDF06ko1BFZ55A08iZRcgWxnKa90klEf5Eb/ wClw== X-Forwarded-Encrypted: i=1; AJvYcCU3bZmLdfEWtpWX666JeH9l0g1HhUNuDHjNDWF4iz9ePzR41DRrtmrjEQd+6nAITiuB61nYsL1NDELawkg3aMmHrZU/YK5NEqVLjxCU79Po1H4x X-Gm-Message-State: AOJu0Ywf+vmcWiqqklLQr4QG25dW+hZzx72KHZrH/UJ99XU2YMXjoAGF t63G+mJWNDCLYDDReQOu4kMGxWYSycpq6pE6olMpC4KvDCeLfrLv7ozRqrE+43luTxrRN7bXAt+ eq/etEpxJYA8x2EhBUfeCWRMRDZccOucJQ6q8 X-Google-Smtp-Source: AGHT+IF2J9byH1L0QJTK44tGzexxGtGoOZp03Zykzi7O8YgFhvgRcnNzCw+pSB/NI1czNy6/K+GXKuPGAAmUxdcNYGI= X-Received: by 2002:a05:6902:e8f:b0:e07:9494:6022 with SMTP id 3f1490d57ef6-e087b91fdf5mr5843191276.34.1721652037334; Mon, 22 Jul 2024 05:40:37 -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: Mon, 22 Jul 2024 18:10:21 +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="0000000000001cd640061dd55a1b" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000001cd640061dd55a1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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=BCrki= ye" 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 > Thanks & Regards, > Ertan > --=20 Sandeep Thakkar --0000000000001cd640061dd55a1b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Mon, Jul 22, 2024 at 5:52=E2= =80=AFPM Ertan K=C3=BC=C3=A7=C3=BCkoglu <ertan.kucukoglu@gmail.com> wrote:
Sa= ndeep Thakkar <sandeep.thakkar@enterprisedb.com>, 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 initcluster script is the same as= returned by the getlocales executable.

Executing C:\Windows\Sy= stem32\cscript //NoLogo "C:\Program Files\PostgreSQL\16/installer/serv= er/initcluster.vbs" "NT AUTHORITY\NetworkService" "post= gres" "****" "C:\Users\User1\AppData\Local\Temp/postgre= sql_installer_cd79fad8b7" "C:\Program Files\PostgreSQL\16" &= quot;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 encoding is not correct just before ini= tdb
Maybe this is related to BAT file usage? I don't know.

Ah, I see it now. Let me t= ake a closer look
=C2=A0
= Thanks &=C2=A0Regards,
Ertan


--
Sandeep Thakkar


--0000000000001cd640061dd55a1b--