pgsql: Add "own_hash" to pg_stat_kind_info
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: /messages/by-id/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(-)