C comment: adjust statistics mention
authorBruce Momjian <[email protected]>
Tue, 31 Oct 2023 15:02:04 +0000 (11:02 -0400)
committerBruce Momjian <[email protected]>
Tue, 31 Oct 2023 15:02:04 +0000 (11:02 -0400)
No need to talk about the statistics collector.

Discussion: https://postgr.es/m/8a82417cdb6e8038fe276d4960e3207a@oss.nttdata.com

Author: Álvaro Herrera

Backpatch-through: master

src/include/catalog/pg_statistic.h

index 864cb54a51bab03358c14bc357a80ad0e7a0900a..0808c5fc8930b7579e7a7e8fcd33cfbb39bf3663 100644 (file)
@@ -178,7 +178,7 @@ DECLARE_FOREIGN_KEY((starelid, staattnum), pg_attribute, (attrelid, attnum));
  * the K most common non-null values appearing in the column, and stanumbers
  * contains their frequencies (fractions of total row count).  The values
  * shall be ordered in decreasing frequency.  Note that since the arrays are
- * variable-size, K may be chosen by the statistics collector.  Values should
+ * variable-size, K may be chosen may be chosen at ANALYZE time.  Values should
  * not appear in MCV unless they have been observed to occur more than once;
  * a unique column will have no MCV slot.
  */