Re: Improve docs for n_distinct_inherited
David Rowley <dgrowleyml@gmail.com>
From: David Rowley <dgrowleyml@gmail.com>
To: "David G. Johnston" <david.g.johnston@gmail.com>
Cc: Chao Li <li.evan.chao@gmail.com>, PostgreSQL Developers <pgsql-hackers@lists.postgresql.org>
Date: 2025-10-13T08:31:35Z
Lists: pgsql-hackers
Attachments
- doc_n_distinct_inherited_v5.patch (application/octet-stream) patch v5
On Mon, 13 Oct 2025 at 17:09, David G. Johnston <david.g.johnston@gmail.com> wrote: > How about: > > n_distinct_inherited exists to allow the distinct value estimate to be overwritten for the children-included statistics gathered for inheritance parent tables, and for partitioned tables. > > I can live with “ordinarily” with that wording, it is just the negative of “children-included”. I've ended up reverting the text back to become more similar to how it was but explicitly adding ", and for the statistics gathered for partitioned tables.", since that's what the original bug report was confused about. I've kept the other document changes as they were in the previous patch. David
Commits
-
Doc: clarify n_distinct_inherited setting
- c3b9e565137b 13.23 landed
- 715eb62e30ac 14.20 landed
- 46086fb6812f 15.15 landed
- 0a47f054ef8d 16.11 landed
- f428b1231ccf 17.7 landed
- f691e72585a3 18.1 landed
- 615a0fc2f1fd 19 (unreleased) landed