aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-07-19 12:39:50 +0900
committerMichael Paquier <michael@paquier.xyz>2021-07-19 12:39:50 +0900
commit6d0dc1a7da7942915c8160caa379c58dfd1488b8 (patch)
tree4e6d3adef39e083f2a1f97e646a9c73486670a56
parent244ad5415557812a6ac4dc5d6e2ae908361d82c3 (diff)
downloadpostgresql-6d0dc1a7da7942915c8160caa379c58dfd1488b8.tar.gz
postgresql-6d0dc1a7da7942915c8160caa379c58dfd1488b8.zip
doc: Mention CASCADE/RESTRICT for DROP STATISTICS
This grammar has no effect as there are no dependencies on statistics, but it is supported by the parser. This is more consistent with the other DROP commands. Author: Vignesh C Discussion: https://postgr.es/m/CALDaNm1LA=yNmzcSfy+0oe6CEAgsxXRf_-UutE3ZncFi8QkFNQ@mail.gmail.com Backpatch-through: 10
-rw-r--r--doc/src/sgml/ref/drop_statistics.sgml14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/src/sgml/ref/drop_statistics.sgml b/doc/src/sgml/ref/drop_statistics.sgml
index f58c3d6d221..1532ca95847 100644
--- a/doc/src/sgml/ref/drop_statistics.sgml
+++ b/doc/src/sgml/ref/drop_statistics.sgml
@@ -21,7 +21,7 @@ PostgreSQL documentation
<refsynopsisdiv>
<synopsis>
-DROP STATISTICS [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...]
+DROP STATISTICS [ IF EXISTS ] <replaceable class="parameter">name</replaceable> [, ...] [ CASCADE | RESTRICT ]
</synopsis>
</refsynopsisdiv>
@@ -59,6 +59,18 @@ DROP STATISTICS [ IF EXISTS ] <replaceable class="parameter">name</replaceable>
</listitem>
</varlistentry>
+ <varlistentry>
+ <term><literal>CASCADE</literal></term>
+ <term><literal>RESTRICT</literal></term>
+
+ <listitem>
+ <para>
+ These key words do not have any effect, since there are no dependencies
+ on statistics.
+ </para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
</refsect1>