pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Korotkov <akorotkov@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Display length and bounds histograms in pg_stats
Date: Sun, 26 Nov 2023 23:32:33 +0000
Message-ID: <E1r7Oc4-007PhY-Uu@gemulon.postgresql.org> (raw)

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@postgrespro.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(-)



Message-ID: <E1r7Oc4-007PhY-Uu@gemulon.postgresql.org>
Permalink:  ../E1r7Oc4-007PhY-Uu@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1r7Oc4-007PhY-Uu@gemulon.postgresql.org

 · 

reply

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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: akorotkov@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Display length and bounds histograms in pg_stats
  In-Reply-To: <E1r7Oc4-007PhY-Uu@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