Re: BUG #19715: pg_restore_attribute_stats() rejects range statistics for a domain over int4multirange - Mailing list pgsql-bugs

From Michael Paquier
Subject Re: BUG #19715: pg_restore_attribute_stats() rejects range statistics for a domain over int4multirange
Date
Msg-id arcJiWiWBrkGn2Ig@paquier.xyz
Whole thread
In response to Re: BUG #19715: pg_restore_attribute_stats() rejects range statistics for a domain over int4multirange  (Corey Huinker <corey.huinker@gmail.com>)
List pgsql-bugs
On Fri, Sep 25, 2026 at 03:45:10PM -0400, Corey Huinker wrote:
> This is a good move, as it further opens the door to making stats import
> work with custom stakinds, but a lot of things need to happen [1][2][3]
> before we can even attempt that.

I don't know much about these parts, only about the problem at hand,
which is enough for me for the moment..  :)

> It does apply cleanly to 19, and yes, the v18 is a bigger change, and will
> look much more like my patch unless we decide to backport
> statatt_get_type()...which probably isn't worth it.

The backpatch of v18 is not that bad, isolated within
attribute_stats.c, so the ABI argument does not apply.
--
Michael

Attachment

pgsql-bugs by date:

Previous
From: Manu
Date:
Subject: Re: autovacuum: automatically propagate updated parameters
Next
From: Manu
Date:
Subject: Re: BUG #19705: One NaN box makes a BRIN box_inclusion_ops index omit unrelated rows