doc: Mention CASCADE/RESTRICT for DROP STATISTICS
authorMichael Paquier
Mon, 19 Jul 2021 03:39:38 +0000 (12:39 +0900)
committerMichael Paquier
Mon, 19 Jul 2021 03:39:38 +0000 (12:39 +0900)
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

index f58c3d6d22172d653580c379002c6b873ead3cf3..1532ca95847e3f3dfc6f62ac3c010030dee075a7 100644 (file)
@@ -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.
+     
+    
+   
+