pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Corey Huinker <corey.huinker@gmail.com>
Cc: jian he <jian.universality@gmail.com>
Cc: imchifan@163.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #19715: pg_restore_attribute_stats() rejects range statistics for a domain over int4multirange
Date: Sat, 26 Sep 2026 08:53:45 +0900
Message-ID: <arcJiWiWBrkGn2Ig@paquier.xyz> (raw)
In-Reply-To: <CADkLM=fvZ-4Gry9WWocB0SkR+jiTq+GH+RmWhG=zvsJJBJBXwg@mail.gmail.com>
References: <19715-b8be35083016f289@postgresql.org>
	<CADkLM=exLKefGZjw+6HZ4TaVr0ra2+t44=64DpRs5eX4wdqfuw@mail.gmail.com>
	<arSlchrpWvs8m8M2@paquier.xyz>
	<CADkLM=ci+m6KW1r1RutSOV-OOvv9FTNrOU0+7wNq8R2+p-91Nw@mail.gmail.com>
	<CACJufxFpoeswdX3hV_vg+Tr78Q++01yk06k5Y4aPapYm_-hW3Q@mail.gmail.com>
	<arWpl7GpyleJ-HjT@paquier.xyz>
	<arW2T9Oa5k6Wpq-O@paquier.xyz>
	<CADkLM=fvZ-4Gry9WWocB0SkR+jiTq+GH+RmWhG=zvsJJBJBXwg@mail.gmail.com>

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

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (14+ messages)

Message-ID: <arcJiWiWBrkGn2Ig@paquier.xyz>
Permalink:  ../arcJiWiWBrkGn2Ig@paquier.xyz/
Also on:    postgresql.org/message-id/arcJiWiWBrkGn2Ig@paquier.xyz

 · 

reply

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: michael@paquier.xyz, corey.huinker@gmail.com, jian.universality@gmail.com, imchifan@163.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #19715: pg_restore_attribute_stats() rejects range statistics for a domain over int4multirange
  In-Reply-To: <arcJiWiWBrkGn2Ig@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