From: Michael Paquier Date: Mon, 19 Jul 2021 03:39:38 +0000 (+0900) Subject: doc: Mention CASCADE/RESTRICT for DROP STATISTICS X-Git-Tag: REL_15_BETA1~1855 X-Git-Url: http://git.postgresql.org/gitweb/?a=commitdiff_plain;h=d1216635610a9855a8ec139e55cd852f67d5ee81;p=postgresql.git 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 --- 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 -DROP STATISTICS [ IF EXISTS ] name [, ...] +DROP STATISTICS [ IF EXISTS ] name [, ...] [ CASCADE | RESTRICT ] @@ -59,6 +59,18 @@ DROP STATISTICS [ IF EXISTS ] name + + CASCADE + RESTRICT + + + + These key words do not have any effect, since there are no dependencies + on statistics. + + + +