diff --git a/doc/src/sgml/ref/alter_table.sgml b/doc/src/sgml/ref/alter_table.sgml
index 3bac4db7422..76af7a6f54d 100644
--- a/doc/src/sgml/ref/alter_table.sgml
+++ b/doc/src/sgml/ref/alter_table.sgml
@@ -210,6 +210,8 @@ WITH ( MODULUS numeric_literal, REM
When this form is used, the column's statistics are removed,
so running ANALYZE
on the table afterwards is recommended.
+ For a virtual generated column, ANALYZE
+ is not necessary because such columns never have statistics.
@@ -271,6 +273,15 @@ WITH ( MODULUS numeric_literal, REM
in a stored generated column is rewritten and all the future changes
will apply the new generation expression.
+
+
+ When this form is used on a stored generated column, its statistics
+ are removed, so running
+ ANALYZE
+ on the table afterwards is recommended.
+ For a virtual generated column, ANALYZE
+ is not necessary because such columns never have statistics.
+