Re: Fix the error hint message and test for reset_shared with unknown stats type
Maksim Logvinenko <logvinenko-ms@yandex.ru>
From: Maksim Logvinenko <logvinenko-ms@yandex.ru>
To: "pgsql-hackers@lists.postgresql.org" <pgsql-hackers@lists.postgresql.org>
Date: 2026-04-28T15:18:21Z
Lists: pgsql-hackers
Attachments
- (unnamed) (text/html)
- 0001-Fix-the-error-hint-message-and-test-for-reset_shared.patch (text/x-diff) patch 0001
I'm sorry for the forgotten patch in the attachment
----------------
Кому: pgsql-hackers@lists.postgresql.org (pgsql-hackers@lists.postgresql.org);
Тема: Fix the error hint message and test for reset_shared with unknown stats type;
28.04.2026, 20:13, "Maksim Logvinenko" <logvinenko-ms@yandex.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
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Fix error of pg_stat_reset_shared()
- 4bfd0f1b769e 19 (unreleased) landed