Update comments for pg_statistic catalog table

Alexander Korotkov <akorotkov@postgresql.org>

Commit: 441c8a31349105590e778fe7dd1db0d0c89299df
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2023-11-26T23:32:17Z
Releases: 17.0
Update comments for pg_statistic catalog table

Make a reminder that pg_stats view needs to be modified whenever a new slot
kind is added.  To prevent situations like 918eee0c49 when pg_stats was
forgotten to be updated.

Also, revise the comment that only non-null, non-empty rows are considered
for the range length histogram.

Discussion: https://postgr.es/m/flat/b67d8b57-9357-7e82-a2e7-f6ce6eaeec67@postgrespro.ru
Author: Egor Rogov, Soumyadeep Chakraborty
Reviewed-by: Tomas Vondra, Justin Pryzby, Jian He

Files

PathChange+/−
src/include/catalog/pg_statistic.h modified +5 −1

Discussion

Cited messages not in the archive: flat/b67d8b57-9357-7e82-a2e7-f6ce6eaeec67@postgrespro.ru