The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/16/view-pg-stats.html Description:
First paragraph for the pg_stats view says: "This view allows access only to rows of pg_statistic that correspond to tables the user has permission to read, and therefore it is safe to allow public read access to this view." I think it would be worth to mention that with RLS enabled for the table the rows will also be hidden to not reveal values from the rows not visible to the user. Wojtek