mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
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
This commit is contained in:
@ -1918,28 +1918,6 @@ testdb=>
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>\dX [ <link linkend="app-psql-patterns"><replaceable class="parameter">pattern</replaceable></link> ]</literal></term>
|
||||
<listitem>
|
||||
<para>
|
||||
Lists extended statistics.
|
||||
If <replaceable class="parameter">pattern</replaceable>
|
||||
is specified, only those extended statistics whose names match the
|
||||
pattern are listed.
|
||||
If <literal>+</literal> is appended to the command name, each extended
|
||||
statistics is listed with its size.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
The column of the kind of extended stats (e.g. Ndistinct) shows some statuses.
|
||||
"requested" means that it needs to collect statistics by <link
|
||||
linkend="sql-analyze"><command>ANALYZE</command></link>.
|
||||
"built" means <link linkend="sql-analyze"><command>ANALYZE</command></link> was
|
||||
finished, and the planner can use it. NULL means that it doesn't exists.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry>
|
||||
<term><literal>\dy[+] [ <link linkend="app-psql-patterns"><replaceable class="parameter">pattern</replaceable></link> ]</literal></term>
|
||||
|
Reference in New Issue
Block a user