From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: klaudie.willis@protonmail.com
Subject: BUG #16521: n_distinct_inherited does not affect child partitions when set on main partition
Date: Tue, 30 Jun 2020 20:02:54 +0000
Message-ID: <16521-e1ea71bb200b6bb3@postgresql.org> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-bugs@postgresql.org
Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, klaudie.willis@protonmail.com
Subject: Re: BUG #16521: n_distinct_inherited does not affect child partitions when set on main partition
In-Reply-To: <16521-e1ea71bb200b6bb3@postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox