Ynt: BUG #18181: KB5031455 Update crashes PostgreSQL Server for Turkish language - Mailing list pgsql-bugs

From Murat Topcu
Subject Ynt: BUG #18181: KB5031455 Update crashes PostgreSQL Server for Turkish language
Date
Msg-id DB4PR02MB10031860049329F63254E952FF3652@DB4PR02MB10031.eurprd02.prod.outlook.com
Whole thread Raw
In response to Re: BUG #18181: KB5031455 Update crashes PostgreSQL Server for Turkish language  (Manika Singhal <manika.singhal@enterprisedb.com>)
List 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 ile gönderildi

 

Kimden: Manika Singhal
Gönderilme: 6 Ocak 2024 Cumartesi 18:28
Kime: Laurenz Albe
Bilgi: Koray Yavuz; pgsql-bugs@lists.postgresql.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.albe@cybertec.at> wrote:

 

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

Laurenz Albe <laurenz.albe@cybertec.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

 

 

pgsql-bugs by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: BUG #18261: Inconsistent results of SELECT affected by joined subqueries
Next
From: PG Bug reporting form
Date:
Subject: BUG #18273: Incorrect memory access occurs when gist__int index is building on data containing 2^31-1