Update comments for pg_statistic catalog table
authorAlexander Korotkov <akorotkov@postgresql.org>
Sun, 26 Nov 2023 23:29:56 +0000 (01:29 +0200)
committerAlexander Korotkov <akorotkov@postgresql.org>
Sun, 26 Nov 2023 23:32:17 +0000 (01:32 +0200)
commit441c8a31349105590e778fe7dd1db0d0c89299df
tree751e44260c863f1cc0544d9f1b1062f78b19fa9f
parent3558f120f8697e63d97145706151778bb176ba7b
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
src/include/catalog/pg_statistic.h