pgsql: Add "own_hash" to pg_stat_kind_info

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add "own_hash" to pg_stat_kind_info
Date: 2026-10-13 04:48:45
Message-ID: E1xGURR-00000001PQ3-3KXd@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
Reviewed-by: Michael Paquier <michael(at)paquier(dot)xyz>
Reviewed-by: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)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(-)

Browse pgsql-committers by date

  From Date Subject
Previous Message Fujii Masao 2026-10-13 04:19:19 pgsql: pg_dump: Don't emit OVERRIDING SYSTEM VALUE for dropped identity