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 1sbIbx-00FXBt-Eo for pgsql-general@arkaria.postgresql.org; Tue, 06 Aug 2024 11:44:17 +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 1sbIbv-00FO10-Tr for pgsql-general@arkaria.postgresql.org; Tue, 06 Aug 2024 11:44:15 +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 1sbIbv-00FNbg-H4 for pgsql-general@lists.postgresql.org; Tue, 06 Aug 2024 11:44:15 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sbIbo-003N8d-Is for pgsql-general@lists.postgresql.org; Tue, 06 Aug 2024 11:44:13 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 347A6A337; Tue, 6 Aug 2024 13:44:05 +0200 (CEST) Date: Tue, 6 Aug 2024 13:44:05 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: Windows installation problem at post-install step Message-ID: <20240806114405.qdwrok7ppfangowo@hjp.at> Mail-Followup-To: pgsql-general@lists.postgresql.org References: <44b44ece-dce6-4b4f-b751-8787a5a071e0@aklaver.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="poslpaixllojv3o2" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --poslpaixllojv3o2 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2024-08-06 16:06:51 +0530, Sandeep Thakkar wrote: > On Tue, Aug 6, 2024 at 10:57=E2=80=AFAM Thomas Munro wrote: >=20 > On Mon, Aug 5, 2024 at 8:50=E2=80=AFPM Sandeep Thakkar > wrote: > > This issue is seen only on v16 and not the back branches (tested on= 15 > and 14) and also confirmed by @Ertan K=C3=BC=C3=A7=C3=BCkoglu at http= s://github.com/ > EnterpriseDB/edb-installers/issues/127#issuecomment-2268371442 >=20 > Does that mean you can reproduce the problem with initdb.exe directly > in a shell?=C2=A0 That is, remove the EDB installer from the picture = and > compare v15 and v16 with the exact command line options that > initcluster.vbs is using, or perhaps just: >=20 > initdb.exe --locale=3D"Turkish,T=C3=BCrkiye" --encoding=3DUTF-8 -D pg= data >=20 >=20 > yes, here is the output: >=20 > c:\Program Files\PostgreSQL\16\bin>initdb.exe --encoding=3DUTF-8 -A > scram-sha-256 -U postgres -D "c:\Program Files\PostgreSQL\16\data" --= locale > "Turkish,T=C3=BCrkiye" -W > The files belonging to this database system will be owned by user > "sandeep". > This user must also own the server process. >=20 > The database cluster will be initialized with locale > "Turkish_T=C3=BCrkiye.1254". I assume that "1254" here is the code page. But you specified --encoding=3DUTF-8 above, so your default locale uses a different encoding than the template databases. I would expect that to cause problems if the template databases contain any charecters where the encodings differ (such as "=C3=BC" in the locale name). > c:\Program Files\PostgreSQL\15\bin>initdb.exe --encoding=3DUTF-8 -A > scram-sha-256 -U postgres -D "c:\Program Files\PostgreSQL\15\data" --= locale > "Turkish,T=C3=BCrkiye" -W > XXX debug raw: getopt optarg =C2=A0=3D "Turkish,T=C3=BCrkiye" > XXX debug hex: getopt optarg =C2=A0=3D { 54 75 72 6b 69 73 68 2c 54 f= c 72 6b 69 79 > 65 } > XXX debug txt: getopt optarg =C2=A0=3D { T =C2=A0u =C2=A0r =C2=A0k = =C2=A0i =C2=A0s =C2=A0h =C2=A0, =C2=A0T =C2=A0? =C2=A0r =C2=A0k =C2=A0i =C2= =A0y > =C2=A0e =C2=A0} This also looks like window-1254 (or at least some ISO-8859 variant) to me. hp --=20 _ | Peter J. Holzer | Story must make more sense than reality. |_|_) | | | | | hjp@hjp.at | -- Charles Stross, "Creative writing __/ | http://www.hjp.at/ | challenge!" --poslpaixllojv3o2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAmayDH0ACgkQ8g5IURL+ KF3+VA//X0zOMts0JMj168Hc7fQLq5dhyx1WsmsGkfDkCfb9cQJUoJ4QrWbqaD3J W8HMzI/552I359c/6nTqFwRhckZObcnGYTdEIr3lFDshpZjSir4jAHCsC5W1j1vI gx85EGRMQCgvclBJ6ChdCv8OqNPyepOrvYPCj1daUQDIpA++i3b58i899x/4rdzT HKoy1H89lcFMgOxMH2OhtisEY6GWH5F9JKcjpYoXyL+HcnDsG+kJ3LhFCfLEcLyx VEvf8f/rJa2JY+hmhznQb9LCMHtw0ZeFyKgosgmdN7L/+9510BkYGq3cHIDHiOX9 zkwTaQNaGoIEYbJmlvCaD855fXbeuItcCvXJFmSvk+H1R9gMDvufe0LxZArbSPM3 Ce+Gs8KD3bgoJcXj/QRtIl9QT+1raee+/Evwcpp9OByxrLRk6DKE540qFNA2LEJU 79xA31XXdLlkbYkgDU/+4cQOpVfOMecaVsd4VxZ2zadfT2uhSfCULywFnOuySYig 4TPno5wNjN0EZAAqdivku02OsWDNqbWBNT4O/fPA3L+/zjZS0Ir+Ps/KlcX7EIb7 sG2tZyLOnb4tB8VYomsg7OvvvoSi2VNIRM2YMTTgRUQl4XXtwVo1QQTu/4I2Gd2O p9Z6IydpIkMsU1bngCiTIa5h2nvN86pOvyJj0zThSoipxCBa3f0= =iW7U -----END PGP SIGNATURE----- --poslpaixllojv3o2--