aboutsummaryrefslogtreecommitdiff
path: root/src/bin/psql/command.c
diff options
context:
space:
mode:
authorTomas Vondra <tomas.vondra@postgresql.org>2021-01-17 15:11:14 +0100
committerTomas Vondra <tomas.vondra@postgresql.org>2021-01-17 15:11:14 +0100
commit1db0d173a2201119f297ea35edfb41579893dd8c (patch)
treeb24b99ca9c37fac89c5d3a29522b8a66ffdb0e52 /src/bin/psql/command.c
parente09155bd62f0ac5817cb3d736eb35adf4200549e (diff)
downloadpostgresql-1db0d173a2201119f297ea35edfb41579893dd8c.tar.gz
postgresql-1db0d173a2201119f297ea35edfb41579893dd8c.zip
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
Diffstat (limited to 'src/bin/psql/command.c')
-rw-r--r--src/bin/psql/command.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/bin/psql/command.c b/src/bin/psql/command.c
index c5ebc1c3f41..303e7c3ad8b 100644
--- a/src/bin/psql/command.c
+++ b/src/bin/psql/command.c
@@ -928,9 +928,6 @@ exec_command_d(PsqlScanState scan_state, bool active_branch, const char *cmd)
else
success = listExtensions(pattern);
break;
- case 'X': /* Extended Statistics */
- success = listExtendedStats(pattern, show_verbose);
- break;
case 'y': /* Event Triggers */
success = listEventTriggers(pattern, show_verbose);
break;