BUG #18425: KB5036892 Microsoft Update Package Issue

Started by PG Bug reporting formabout 2 years ago4 messagesbugs
Jump to latest
#1PG Bug reporting form
noreply@postgresql.org

The following bug has been logged on the website:

Bug reference: 18425
Logged by: Mustafa Tansel Tekin
Email address: tanseltekin01@gmail.com
PostgreSQL version: Unsupported/Unknown
Operating system: Windows 10
Description:

Hi,

I am Mustafa from Turkiye, last night my computer is updated automatically.
But KB50336892 number package file is stopped pgsql 11 service. I solved
this problem form uninstalled this update package but. Windows 10 automatic
update process will be updated other time. Please check this pgsql service
and ıf it is required to contact to microsoft.

#2Laurenz Albe
laurenz.albe@cybertec.at
In reply to: PG Bug reporting form (#1)
Re: BUG #18425: KB5036892 Microsoft Update Package Issue

On Wed, 2024-04-10 at 10:06 +0000, PG Bug reporting form wrote:

Operating system: Windows 10

I am Mustafa from Turkiye, last night my computer is updated automatically.
But KB50336892 number package file is stopped pgsql 11 service. I solved
this problem form uninstalled this update package but. Windows 10 automatic
update process will be updated other time. Please check this pgsql service
and ıf it is required to contact to microsoft

This is the same problem as this one:
/messages/by-id/18196-b10f93dfbde3d7db@postgresql.org

The problem is mostly in the Windows installer.

To fix your system, revert the patch so that you can start PostgreSQL
(you already did that).

Then stop the PostgreSQL service and take a backup of the data directory,
in case you mess up something below. Start the service again.

Then you have to connect as superuser and manually update "pg_database" to
change the collation and character type to "tr-TR"; something like

UPDATE pg_database
SET datcollate = 'tr-TR.1254'
WHERE datcollate = 'Turkish_Turkey.1254';

UPDATE pg_database
SET datctype = 'tr-TR.1254'
WHERE datctype = 'Turkish_Turkey.1254';

(I don't have Windows - could somebody ascertain that these values are correct?)

Then you'd update "postgresql.conf" with a text editor and likewise change
all occurrences of "Turkish_Turkey.1254" to "tr-TR.1254".

After that, restart your PostgreSQL service and see if everything works as it should.

Then you should be able to apply the Windows patch, and PostgreSQL should be fine.

As I mentioned above, I don't run Windows myself, so try it on a test system before
you do it on the production database.

Yours,
Laurenz Albe

#3MUSTAFA TANSEL TEKİN
tanseltekin01@gmail.com
In reply to: PG Bug reporting form (#1)

Hi,

Thank you for your interesting. But solution way is not working because
your solution way is effected by KB5031455 update package. But my problem
update package KB5036892. Totally different. KB5036892 package is changed
win10 copilot app update. It is stopped pgsql service on windows 10-11.And
this package is publishing to Europe countries. This package will created
big problems...

Laurenz Albe <laurenz.albe@cybertec.at>, 10 Nis 2024 Çar, 17:30 tarihinde
şunu yazdı:

Show quoted text

On Wed, 2024-04-10 at 10:06 +0000, PG Bug reporting form wrote:

Operating system: Windows 10

I am Mustafa from Turkiye, last night my computer is updated

automatically.

But KB50336892 number package file is stopped pgsql 11 service. I solved
this problem form uninstalled this update package but. Windows 10

automatic

update process will be updated other time. Please check this pgsql

service

and ıf it is required to contact to microsoft

This is the same problem as this one:

/messages/by-id/18196-b10f93dfbde3d7db@postgresql.org

The problem is mostly in the Windows installer.

To fix your system, revert the patch so that you can start PostgreSQL
(you already did that).

Then stop the PostgreSQL service and take a backup of the data directory,
in case you mess up something below. Start the service again.

Then you have to connect as superuser and manually update "pg_database" to
change the collation and character type to "tr-TR"; something like

UPDATE pg_database
SET datcollate = 'tr-TR.1254'
WHERE datcollate = 'Turkish_Turkey.1254';

UPDATE pg_database
SET datctype = 'tr-TR.1254'
WHERE datctype = 'Turkish_Turkey.1254';

(I don't have Windows - could somebody ascertain that these values are
correct?)

Then you'd update "postgresql.conf" with a text editor and likewise change
all occurrences of "Turkish_Turkey.1254" to "tr-TR.1254".

After that, restart your PostgreSQL service and see if everything works as
it should.

Then you should be able to apply the Windows patch, and PostgreSQL should
be fine.

As I mentioned above, I don't run Windows myself, so try it on a test
system before
you do it on the production database.

Yours,
Laurenz Albe

#4Laurenz Albe
laurenz.albe@cybertec.at
In reply to: MUSTAFA TANSEL TEKİN (#3)
Re: BUG #18425: KB5036892 Microsoft Update Package Issue

On Mon, 2024-04-15 at 09:45 +0300, MUSTAFA TANSEL TEKİN wrote:

Laurenz Albe <laurenz.albe@cybertec.at>, 10 Nis 2024 Çar, 17:30 tarihinde şunu yazdı:

On Wed, 2024-04-10 at 10:06 +0000, PG Bug reporting form wrote:

Operating system:   Windows 10

I am Mustafa from Turkiye, last night my computer is updated automatically.
But KB50336892 number package file is stopped pgsql 11 service. I solved
this problem form uninstalled this update package but. Windows 10 automatic
update process will be updated other time. Please check this pgsql service
and ıf it is required to contact to microsoft

This is the same problem as this one:
/messages/by-id/18196-b10f93dfbde3d7db@postgresql.org

Thank you for your interesting. But solution way is not working because your solution
way is effected by KB5031455 update package. But my problem update package KB5036892.
Totally different. KB5036892 package is changed win10 copilot app update. It is stopped
pgsql service on windows 10-11.And this package is publishing to Europe countries.
This package will created big problems...

Sorry for my mistaken assumption.

I guess you'd have to provide a much more detailed description, so that somebody
can reproduce your problem.

Yours,
Laurenz Albe