diff options
author | Michael Paquier <michael@paquier.xyz> | 2021-07-19 12:40:04 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2021-07-19 12:40:04 +0900 |
commit | e8321a3190bd491af7c67c1a73d8c043a216ec25 (patch) | |
tree | 906efc0625680619c28faa23be24ced08a037e17 /doc/src | |
parent | 52d0e9d45a20ab6c0026149f7978aa66ceec8db5 (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
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/drop_statistics.sgml | 14 |
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 37fc4025891..8aacabac5ce 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> |