pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: psql \dX: list extended statistics objects
2+ messages / 1 participants
[nested] [flat]

* pgsql: psql \dX: list extended statistics objects
@ 2021-01-16 23:28  Tomas Vondra <tomas.vondra@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tomas Vondra @ 2021-01-16 23:28 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

psql \dX: list extended statistics objects

The new command lists extended statistics objects, possibly with their
sizes. All past releases with extended statistics are supported.

Author: Tatsuro Yamada
Reviewed-by: Julien Rouhaud, Alvaro Herrera, Tomas Vondra
Discussion: https://postgr.es/m/c027a541-5856-75a5-0868-341301e1624b%40nttcom.co.jp_1

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/891a1d0bca262ca78564e0fea1eaa5ae544ea5ee

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml          |  22 +++++
src/bin/psql/command.c                  |   3 +
src/bin/psql/describe.c                 | 150 ++++++++++++++++++++++++++++++++
src/bin/psql/describe.h                 |   3 +
src/bin/psql/help.c                     |   1 +
src/bin/psql/tab-complete.c             |   4 +-
src/test/regress/expected/stats_ext.out |  94 ++++++++++++++++++++
src/test/regress/sql/stats_ext.sql      |  31 +++++++
8 files changed, 307 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* pgsql: psql \dX: list extended statistics objects
@ 2021-01-20 21:58  Tomas Vondra <tomas.vondra@postgresql.org>
  0 siblings, 0 replies; 2+ messages in thread

From: Tomas Vondra @ 2021-01-20 21:58 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

psql \dX: list extended statistics objects

The new command lists extended statistics objects. All past releases
with extended statistics are supported.

This is a simplified version of commit 891a1d0bca, which had to be
reverted due to not considering pg_statistic_ext_data is not accessible
by regular users. Fields requiring access to this catalog were removed.
It's possible to add them, but it'll require changes to core.

Author: Tatsuro Yamada
Reviewed-by: Julien Rouhaud, Alvaro Herrera, Tomas Vondra, Noriyoshi Shinoda
Discussion: https://postgr.es/m/c027a541-5856-75a5-0868-341301e1624b%40nttcom.co.jp_1

Branch
------
master

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

Modified Files
--------------
doc/src/sgml/ref/psql-ref.sgml          |  21 ++++++
src/bin/psql/command.c                  |   3 +
src/bin/psql/describe.c                 |  83 +++++++++++++++++++++++
src/bin/psql/describe.h                 |   3 +
src/bin/psql/help.c                     |   1 +
src/bin/psql/tab-complete.c             |   4 +-
src/test/regress/expected/stats_ext.out | 116 ++++++++++++++++++++++++++++++++
src/test/regress/sql/stats_ext.sql      |  37 ++++++++++
8 files changed, 267 insertions(+), 1 deletion(-)



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2021-01-20 21:58 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2021-01-16 23:28 pgsql: psql \dX: list extended statistics objects Tomas Vondra <tomas.vondra@postgresql.org>
2021-01-20 21:58 pgsql: psql \dX: list extended statistics objects Tomas Vondra <tomas.vondra@postgresql.org>

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