postgres.git / summary / log / commit / refs

commit    e159368027e342468bb7f9db0d8d42a76dc42f23
Author:   Michael Paquier <michael@paquier.xyz>
Date:     Mon Jul 19 03:39:53 2021 +0000
First released in: 15.0, 10.18, 11.13, 12.8, 13.4, 14.0

    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


doc/src/sgml/ref/drop_statistics.sgml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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> [parent: 7099ba058035]