Re: Fix the error hint message and test for reset_shared with unknown stats type

From: Maksim Logvinenko <logvinenko-ms(at)yandex(dot)ru>
To: "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Fix the error hint message and test for reset_shared with unknown stats type
Date: 2026-04-28 15:18:21
Message-ID: 187621777389356@mail.yandex.ru
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


 

I'm sorry for the forgotten patch in the attachment

----------------

Кому: pgsql-hackers(at)lists(dot)postgresql(dot)org (pgsql-hackers(at)lists(dot)postgresql(dot)org);

Тема: Fix the error hint message and test for reset_shared with unknown stats type;

28.04.2026, 20:13, "Maksim Logvinenko" <logvinenko-ms(at)yandex(dot)ru>:



Hi hackers,


 


The errhint() in pg_stat_reset_shared() were missing the fact that recently added in [1] new lock stats kind.


The patch fixes error hint message and regress test for reset_shared with unknown stats type.


 


[1]: https://www.postgresql.org/message-id/aIyNxBWFCybgBZBS%40ip-10-97-1-34.eu-west-3.compute.internal


 


Best regards,


Maksim Logvinenko


Postgres Professional: http://postgrespro.com

Attachment Content-Type Size
unknown_filename text/html 1.2 KB
0001-Fix-the-error-hint-message-and-test-for-reset_shared.patch text/x-diff 2.1 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2026-04-28 15:28:06 Re: Fix race condition in pg_get_publication_tables with concurrent DROP TABLE
Previous Message Maksim Logvinenko 2026-04-28 15:13:11 Fix the error hint message and test for reset_shared with unknown stats type