Re: Improve docs for n_distinct_inherited - Mailing list pgsql-hackers

From David Rowley
Subject Re: Improve docs for n_distinct_inherited
Date
Msg-id CAApHDvrNFnkMNvmuki=a4kcF0nbV+_EVQshSSoex891B+e1Ssg@mail.gmail.com
Whole thread Raw
In response to Improve docs for n_distinct_inherited  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Improve docs for n_distinct_inherited
List pgsql-hackers
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
statisticsgathered 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

Attachment

pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: bug, ALTER TABLE call ATPostAlterTypeCleanup twice for the same relation
Next
From: Xuneng Zhou
Date:
Subject: Re: pgstattuple: Use streaming read API in pgstatindex functions