summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Paquier2021-07-19 03:39:38 +0000
committerMichael Paquier2021-07-19 03:39:38 +0000
commitd1216635610a9855a8ec139e55cd852f67d5ee81 (patch)
tree399424e1cf62ebfd462ee8300baf304fb1d32d36
parentdcecdfafbd2dbdfaa0f82e7710abfa65242a1d1e (diff)
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 f58c3d6d22..1532ca9584 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>