Improve docs for n_distinct_inherited - Mailing list pgsql-hackers

From David G. Johnston
Subject Improve docs for n_distinct_inherited
Date
Msg-id CAKFQuwaZfciZxUg+E4t0tokLvXxbHJLhMHARX+zb6Vq7KZoiOQ@mail.gmail.com
Whole thread Raw
In response to Re: Improve docs for n_distinct_inherited  (David Rowley <dgrowleyml@gmail.com>)
Responses Re: Improve docs for n_distinct_inherited
List pgsql-hackers
On Sunday, October 12, 2025, David Rowley <dgrowleyml@gmail.com> wrote:

Updated patch attached.

The patch picked up a whole other set of changes as well.

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”.

David J.

pgsql-hackers by date:

Previous
From: Chao Li
Date:
Subject: Re: Improve docs for n_distinct_inherited
Next
From: Tatsuo Ishii
Date:
Subject: Re: Add RESPECT/IGNORE NULLS and FROM FIRST/LAST options