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 1r3K0V-0037Uq-Cf for pgsql-bugs@arkaria.postgresql.org; Wed, 15 Nov 2023 17:48:55 +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 1r3K0U-0019ur-0g for pgsql-bugs@arkaria.postgresql.org; Wed, 15 Nov 2023 17:48:54 +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 1r3K0T-0019uP-Om for pgsql-bugs@lists.postgresql.org; Wed, 15 Nov 2023 17:48:53 +0000 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1r3K0Q-005jPz-AS for pgsql-bugs@lists.postgresql.org; Wed, 15 Nov 2023 17:48:52 +0000 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40a48775c58so45124405e9.3 for ; Wed, 15 Nov 2023 09:48:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec-at.20230601.gappssmtp.com; s=20230601; t=1700070528; x=1700675328; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:from:to:cc:subject:date :message-id:reply-to; bh=oH3258ICOU7hZ1cKtFxW0M3ffObcREUhMlovcmWcaBs=; b=qv02yuBP1hhHWifH9y69CYoCoyq/UM/ionD0Oh+ULagODa9AsxKAMj2OzC7B5AquzA MekoFhGGpggxM/9/2ovzu5lypspJPPkTg6c6MLkDyhyZz0tbf0X59w2KIzPWIiQUQIny 6IKf2aXL02BWG6GLeH6Sq3W2FcTUhBN5elvzvBwv3nyodX4Gvew3AmkqKDr7MNY7Q9xg 8kjc2NxUVJrWyCtQFbELXXZfRF0G8639u9G8wMT+sV32Lb2v4ljK/poq44tSHRSrC6bF s+obawu8DQb4KzZzNMZKmdS3P3iwfMgV774jtcCLRbh4SsH4hU+VcxlY/1OYvo56Js1B q7FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700070528; x=1700675328; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:to:from:subject:message-id:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=oH3258ICOU7hZ1cKtFxW0M3ffObcREUhMlovcmWcaBs=; b=QSdEQKAcvfsewEIb9ulrVcyIfFw/b07IBW8i//erOJiuGkF/oNl675U3fMwFuecxLv 3XaDnr2kSjz5v35rNN7FNTSUV3RS1sBjlg+DLk03GO2r+eePYpV2Y0xvFMbuBwfZmXMZ KxxjF6xIgQYB0XuQX4NK/mO4mIGK3cDiBA4pE1YH37KRZsd5ZHelfRFbs5t9t2Fr5RCf hE1xaFqisLKhnOkociEKrZ82A2KNd6j0ZSIrJmux4LFj1jYyROntpQD+Bp/gOA5jvJMv FTHTv3k6a27xLgYQiWaftfri4OwZuU2qzackOEoOxtFD88L4KPIA+k/OpXKSYAK6NWmC 4mcw== X-Gm-Message-State: AOJu0Yw9wefXmRoAEsZjIPtk9nElOcVCK5BG148dQQuBrk8yS7YNARHn LqSvooAjncvKWntiDogpfvN3SBeCAzGZ4xEqOr8= X-Google-Smtp-Source: AGHT+IHl+ZvXAXJicOY+0JLzEiECtWXuwAeVX/EKC6qy3J5WYMyBaFU6MG2UyAecbudN13EeaKLOIQ== X-Received: by 2002:adf:b651:0:b0:32d:81f7:d6f2 with SMTP id i17-20020adfb651000000b0032d81f7d6f2mr64273wre.30.1700070528587; Wed, 15 Nov 2023 09:48:48 -0800 (PST) Received: from localhost.localdomain (p50992f7c.dip0.t-ipconnect.de. [80.153.47.124]) by smtp.gmail.com with ESMTPSA id e2-20020adfa442000000b0032f7eaa6e43sm11276241wra.79.2023.11.15.09.48.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Nov 2023 09:48:48 -0800 (PST) Message-ID: Subject: Re: BUG #18196: Databases Created in Turkish Language Will Not Run on the Latest Version of Windows From: Laurenz Albe To: halilhanbadem@gmail.com, pgsql-bugs@lists.postgresql.org Date: Wed, 15 Nov 2023 18:48:47 +0100 In-Reply-To: <18196-b10f93dfbde3d7db@postgresql.org> References: <18196-b10f93dfbde3d7db@postgresql.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.48.4 (3.48.4-1.fc38) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 2023-11-15 at 09:04 +0000, PG Bug reporting form wrote: > Operating system: Windows 11 22H2 22621.2715 >=20 > This morning, I noticed that my computer at the office and my computer at > home had received automatic updates. Subsequently, I received reports of > some errors. Upon investigation, I found that the PostgreSQL service was = not > running, and the error indicated that it was due to a problem in the > postgresql.conf file. After extensive research, I discovered that in the > Windows 11 22H2 22621.2715 update, the term "Turkey" had been changed to > "T=C3=BCrkiye." As a result, Turkish_Turkey.1254 is no longer present in = the > operating system. Instead of Turkish_Turkey.1254, the Windows system now > uses Turkish_T=C3=BCrkiye.1254. >=20 > Databases created with Turkish_Turkey.1254 cannot find the corresponding > locale, resulting in errors and service disruptions. After a fresh > installation, I observed the following expressions in the postgresql.conf > file. >=20 > # These settings are initialized by initdb, but they can be changed. > lc_messages =3D 'Turkish_T=C3=BCrkiye.1254' # locale for system error m= essage > # strings > lc_monetary =3D 'Turkish_T=C3=BCrkiye.1254' # locale for monetary forma= tting > lc_numeric =3D 'Turkish_T=C3=BCrkiye.1254' # locale for number formatti= ng > lc_time =3D 'Turkish_T=C3=BCrkiye.1254' # locale for time formatting >=20 > Therefore, there is a conflict, and I request your assistance in addressi= ng > this matter. This has been reported before [1], but your report explains the problem cle= arly. Can you show the exact error message? This seems to be a really nasty problem that Microsoft has created for us. Even if the server started, you could not connect to the database if the collation persisted in pg_database is no longer accepted by the operating system. I cannot think of a possible solution except a hard-coded hack specifically for Turkish locale names... Yours, Laurenz Albe [1]: https://postgr.es/m/18181-fa5143d18a467fe5%40postgresql.org