From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add "own_hash" to pg_stat_kind_info
Date: Tue, 13 Oct 2026 04:48:45 +0000
Message-ID: <E1xGURR-00000001PQ3-3KXd@gemulon.postgresql.org> (raw)
Add "own_hash" to pg_stat_kind_info
This is a follow-up of 44539786b829, to reflect the value of the new
"own_hash" option to pg_stat_kind_info. Thanks to this change, it
becomes possible to know if a stats kind has the idea to use its own
shared hashtable in pgstats.
Bump catalog version.
Author: Sami Imseih <samimseih@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://postgr.es/m/CAA5RZ0supQBxSkh=CWB39=j+cL3hHcLPki3tcBk0B1r4fesg_g@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6296e78c3d2c7406bb450c5ae477b2fef58f155e
Modified Files
--------------
doc/src/sgml/monitoring.sgml | 13 +++++++++++++
src/backend/catalog/system_views.sql | 1 +
src/backend/utils/activity/pgstat_kind.c | 7 ++++---
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 7 ++++---
src/test/modules/test_custom_stats/t/001_custom_stats.pl | 10 +++++++---
src/test/regress/expected/rules.out | 3 ++-
7 files changed, 32 insertions(+), 11 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: michael@paquier.xyz
Subject: Re: pgsql: Add "own_hash" to pg_stat_kind_info
In-Reply-To: <E1xGURR-00000001PQ3-3KXd@gemulon.postgresql.org>
References: <E1xGURR-00000001PQ3-3KXd@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox