Revert "psql \dX: list extended statistics objects"
authorTomas Vondra <tomas.vondra@postgresql.org>
Sun, 17 Jan 2021 14:11:14 +0000 (15:11 +0100)
committerTomas Vondra <tomas.vondra@postgresql.org>
Sun, 17 Jan 2021 14:11:14 +0000 (15:11 +0100)
commit1db0d173a2201119f297ea35edfb41579893dd8c
treeb24b99ca9c37fac89c5d3a29522b8a66ffdb0e52
parente09155bd62f0ac5817cb3d736eb35adf4200549e
Revert "psql \dX: list extended statistics objects"

Reverts 891a1d0bca, because the new  psql command \dX only worked for
users users who can read pg_statistic_ext_data catalog, and most regular
users lack that privilege (the catalog may contain sensitive user data).

Reported-by: Noriyoshi Shinoda
Discussion: https://postgr.es/m/c027a541-5856-75a5-0868-341301e1624b%40nttcom.co.jp_1
doc/src/sgml/ref/psql-ref.sgml
src/bin/psql/command.c
src/bin/psql/describe.c
src/bin/psql/describe.h
src/bin/psql/help.c
src/bin/psql/tab-complete.c
src/test/regress/expected/stats_ext.out
src/test/regress/sql/stats_ext.sql