BUG #16521: n_distinct_inherited does not affect child partitions when set on main partition - Mailing list pgsql-bugs

From PG Bug reporting form
Subject BUG #16521: n_distinct_inherited does not affect child partitions when set on main partition
Date
Msg-id 16521-e1ea71bb200b6bb3@postgresql.org
Whole thread Raw
Responses Re: BUG #16521: n_distinct_inherited does not affect child partitions when set on main partition
List pgsql-bugs
The following bug has been logged on the website:

Bug reference:      16521
Logged by:          klaudie willis
Email address:      klaudie.willis@protonmail.com
PostgreSQL version: 13beta1
Operating system:   Windows
Description:

From documentation: "while n_distinct_inherited affects the statistics
gathered for the table plus its inheritance children"

However, as my own experience has shown me, and as illustrated here:
https://www.db-fiddle.com/f/d2ckNd9eyrGAwvdkr8H5i/0  I cannot see that
"_n_distinct_inherited" affects child partitions when set on the main
partition table.  Am I missing something really simple here?

best regards
Klaudie


pgsql-bugs by date:

Previous
From: Jehan-Guillaume de Rorthais
Date:
Subject: Re: [BUG][PATCH] ecpg crash with bytea type and cursors
Next
From: David Rowley
Date:
Subject: Re: BUG #16521: n_distinct_inherited does not affect child partitions when set on main partition