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 <[email protected]>
Reviewed-by: Michael Paquier <[email protected]>
Reviewed-by: Bertrand Drouvot <[email protected]>
Discussion: 
https://postgr.es/m/CAA5RZ0supQBxSkh=CWB39=j+cl3hhclpki3tcbk0b1r4fes...@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 via email to