In looking at CREATE STATISTICS, I was confused how inheritance and partisions were handled, so I confirmed with Tomas that the ANALYZE manual page accurately describes how extended statistics are handled since PG 15, so I plan to apply this patch to the CREATE STATISTICS docs.
-- Bruce Momjian <br...@momjian.us> https://momjian.us EDB https://enterprisedb.com Indecision is a decision. Inaction is an action. Mark Batterson
diff --git a/doc/src/sgml/ref/create_statistics.sgml b/doc/src/sgml/ref/create_statistics.sgml index b847944f37..2a9a0bf932 100644 --- a/doc/src/sgml/ref/create_statistics.sgml +++ b/doc/src/sgml/ref/create_statistics.sgml @@ -146,7 +146,9 @@ CREATE STATISTICS [ [ IF NOT EXISTS ] <replaceable class="parameter">statistics_ <listitem> <para> The name (optionally schema-qualified) of the table containing the - column(s) the statistics are computed on. + column(s) the statistics are computed on; see <xref + linkend="sql-analyze"> for an explanation of the handling of + inheritance and partitions. </para> </listitem> </varlistentry>