From: Michael Paquier <michael@paquier.xyz>
To: Corey Huinker <corey.huinker@gmail.com>
Cc: 303677365@qq.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19842: pg_restore_extended_stats() rejects a faithful pg_dump of ANALYZE-produced range expression statisti
Date: Wed, 11 Nov 2026 15:34:57 +0900
Message-ID: <avQMkf5ClG0MPnli@paquier.xyz> (raw)
In-Reply-To: <CADkLM=ftnV12NmWVMD4NFVpHqFJCwdUr73QsLp=Byuz4f4bS+g@mail.gmail.com>
References: <19842-ca042326dd2430a4@postgresql.org>
<avFaBdhb4ONGhIjH@paquier.xyz>
<CADkLM=fvGCQWvrrDrSB2M7PHYS=PwLGU17LzoYE6u23t3KV5gQ@mail.gmail.com>
<avKVFEGuLRlhdTyp@paquier.xyz>
<CADkLM=ftnV12NmWVMD4NFVpHqFJCwdUr73QsLp=Byuz4f4bS+g@mail.gmail.com>
On Tue, Nov 10, 2026 at 08:54:33PM -0500, Corey Huinker wrote:
> This bug has the same root cause as bug #19857, but because that one deals
> exclusively with attribute stats it needs to be backported to 18 as well,
> so I kept that separate.
>
> 0001 - Same bugfix proposed for #19587
> 0002 - Decoupling range_bounds_histogram from checks against
> range_length_histogram and range_empty_frac
> 0003 - The extended stats equivalent of 0001
Let's do things in order, and discuss about 0001 first. And I have a
few things to say about it.. But let's see that on the other thread.
--
Michael
Attachments:
signature.asc (application/pgp-signature, 832B) download
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: michael@paquier.xyz, corey.huinker@gmail.com, 303677365@qq.com
Subject: Re: BUG #19842: pg_restore_extended_stats() rejects a faithful pg_dump of ANALYZE-produced range expression statisti
In-Reply-To: <avQMkf5ClG0MPnli@paquier.xyz>
References: <19842-ca042326dd2430a4@postgresql.org> <avFaBdhb4ONGhIjH@paquier.xyz> <CADkLM=fvGCQWvrrDrSB2M7PHYS=PwLGU17LzoYE6u23t3KV5gQ@mail.gmail.com> <avKVFEGuLRlhdTyp@paquier.xyz> <CADkLM=ftnV12NmWVMD4NFVpHqFJCwdUr73QsLp=Byuz4f4bS+g@mail.gmail.com> <avQMkf5ClG0MPnli@paquier.xyz>
* 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