Re: BUG #19842: pg_restore_extended_stats() rejects a faithful pg_dump of ANALYZE-produced range expression statisti

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Corey Huinker <corey(dot)huinker(at)gmail(dot)com>
Cc: 303677365(at)qq(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19842: pg_restore_extended_stats() rejects a faithful pg_dump of ANALYZE-produced range expression statisti
Date: 2026-11-11 06:34:57
Message-ID: avQMkf5ClG0MPnli@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tender Wang 2026-11-11 06:38:06 Re: BUG #19800: Wrong results: self-join elimination drops an ORDER BY sort key with GROUPING SETS / CUBE / ROLLUP
Previous Message Amit Langote 2026-11-11 06:06:09 Re: SQL/JSON PASSING fails for char(n), name and domains over text