pgsql: Display length and bounds histograms in pg_stats

From: Alexander Korotkov <akorotkov(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Display length and bounds histograms in pg_stats
Date: 2023-11-26 23:32:33
Message-ID: E1r7Oc4-007PhY-Uu@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Display length and bounds histograms in pg_stats

Values corresponding to STATISTIC_KIND_RANGE_LENGTH_HISTOGRAM and
STATISTIC_KIND_BOUNDS_HISTOGRAM were not exposed to pg_stats when these
slot kinds were introduced in 918eee0c49.

This commit adds the missing fields to pg_stats.

Catversion is bumped.

Discussion: https://postgr.es/m/flat/b67d8b57-9357-7e82-a2e7-f6ce6eaeec67(at)postgrespro(dot)ru
Author: Egor Rogov, Soumyadeep Chakraborty
Reviewed-by: Tomas Vondra, Justin Pryzby, Jian He

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/bc3c8db8ae2f899cfd65edce99fe9cf65caf1ed7

Modified Files
--------------
doc/src/sgml/system-views.sgml | 39 ++++++++++++++++++++++++++++++++++++
src/backend/catalog/system_views.sql | 23 ++++++++++++++++++++-
src/include/catalog/catversion.h | 2 +-
src/test/regress/expected/rules.out | 26 +++++++++++++++++++++++-
4 files changed, 87 insertions(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2023-11-27 00:41:18 pgsql: Fix race condition with BIO methods initialization in libpq with
Previous Message Tom Lane 2023-11-26 21:40:41 pgsql: Doc: list AT TIME ZONE and COLLATE in operator precedence table.