Ynt: BUG #18181: KB5031455 Update crashes PostgreSQL Server for Turkish language

From: Murat Topcu <murat-topcu(at)outlook(dot)com>
To: Manika Singhal <manika(dot)singhal(at)enterprisedb(dot)com>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: Koray Yavuz <korayyavuuz(at)gmail(dot)com>, "pgsql-bugs(at)lists(dot)postgresql(dot)org" <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Ynt: BUG #18181: KB5031455 Update crashes PostgreSQL Server for Turkish language
Date: 2024-01-06 15:43:09
Message-ID: DB4PR02MB10031860049329F63254E952FF3652@DB4PR02MB10031.eurprd02.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

I get the same error when I install update KB5033375.

It gives the same error in the installation I use Installer, postgresql that I downloaded as a zip archive also gives the same error.

The postgresql server installed with a working installation before the update gives this error in the windows logs

FATAL: configuration file "C:/ProgramData/PostgresData/postgresql.conf" contains errors

Postgresql, which I downloaded from the zip and tried to run, gives the following error in its logs:

2024-01-06 18:35:25.438 +03 [28168] LOG: invalid value for parameter "lc_monetary": "Turkish_Turkey.1254"
2024-01-06 18:35:25.439 +03 [28168] LOG: invalid value for parameter "lc_numeric": "Turkish_Turkey.1254"
2024-01-06 18:35:25.440 +03 [28168] LOG: invalid value for parameter "lc_time": "Turkish_Turkey.1254"
2024-01-06 18:35:25.440 +03 [28168] FATAL: configuration file "C:/ProgramData/somePath/anotherPath/postgresql/postgresql.conf" contains errors

As a solution, I uninstall the update, but since it is a security update, it would be great if a better solution can be found.

Windows için Posta<https://go.microsoft.com/fwlink/?LinkId=550986> ile gönderildi

Kimden: Manika Singhal<mailto:manika(dot)singhal(at)enterprisedb(dot)com>
Gönderilme: 6 Ocak 2024 Cumartesi 18:28
Kime: Laurenz Albe<mailto:laurenz(dot)albe(at)cybertec(dot)at>
Bilgi: Koray Yavuz<mailto:korayyavuuz(at)gmail(dot)com>; pgsql-bugs(at)lists(dot)postgresql(dot)org<mailto:pgsql-bugs(at)lists(dot)postgresql(dot)org>
Konu: Re: BUG #18181: KB5031455 Update crashes PostgreSQL Server for Turkish language

Hi Koray,

Thanks for reaching out!
Some other users have also reported this issue after the mentioned windows update.
We are trying to reproduce the issue on our side and will provide an update soon.

------------------------------
Thanks & Regards
Manika Singhal
EnterprisDB Pune

On 03-Nov-2023, at 7:33 PM, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at> wrote:

On Fri, 2023-11-03 at 14:29 +0300, Koray Yavuz wrote:

Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at<mailto:laurenz(dot)albe(at)cybertec(dot)at>> şunları yazdı (3 Kas 2023 14:03):
On Fri, 2023-11-03 at 09:13 +0000, PG Bug reporting form wrote:

I just got a new computer, installed clean Windows 11 and all updates.
Before installing the KB5031455 update, I installed PostgreSQL v16. During
the installation, I selected "Turkish, Turkey" as the language and it was
successful, the service started working. However, after installing the
KB5031455 Update, I could not start the PostgreSQL server service. There was
the following error in Event Viewer:

"FATAL: configuration file "C:/Program
Files/PostgreSQL/16/data/postgresql.conf" contains errors"

This is not a bug. You added something illegal to "postgresql.conf",
and the server refuses to start without a valid configuration.
Edit the file and fix the problem.
The error message should give you details about what was wrong.

No, i did not add anything to postgresql.conf file. Like i said before,
there is a problem with that Windows update.

Hm. The Windows installer is not maintained by PostgreSQL, but by
EnterpriseDB. Perhaps one of them is on the list and can comment, but
it is not a PostgreSQL bug that the project can fix.

I installed the update again to double check. When the update is installed,
PostgreSQL stops and cannot be started. I saw another error message on the
event viewer that Turkish_Türkiye.1254 (it should be Turkish_Turkey.1254)
could not be found. As soon as I uninstall the update, the server becomes
running again.

Well, perhaps the installer added something problematic to "postgresql.conf"?
You didn't quote the literal error message, but I'd search for "Türkiye".
Perhaps the "ü" was in a wrong encoding.

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Koray Yavuz 2024-01-06 16:18:44 BUG #18181: KB5031455 Update crashes PostgreSQL Server for Turkish language
Previous Message Alexander Korotkov 2024-01-06 12:44:37 Re: BUG #18261: Inconsistent results of SELECT affected by joined subqueries