From: Jonathan S. Katz <jkatz@postgresql.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Alexander Korotkov <aekorotkov@gmail.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>
Cc: Zhihong Yu <zyu@yugabyte.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: unnesting multirange data types
Date: Tue, 15 Jun 2021 13:59:38 -0400
Message-ID: <b8209c06-88ab-83a4-5b20-455a518d023b@postgresql.org> (raw)
In-Reply-To: <429332.1623779540@sss.pgh.pa.us>
References: <202106151728.5kbtjl7or3g2@alvherre.pgsql>
<429332.1623779540@sss.pgh.pa.us>
On 6/15/21 1:52 PM, Tom Lane wrote:
> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
>> On 2021-Jun-15, Tom Lane wrote:
>>> I think this ought to be reverted and reviewed more carefully.
>
>> It seems to me that removing the cast-to-range[] is a sufficient fix,
>> and that we can do with only the unnest part for pg14; the casts can be
>> added in 15 (if at all). That would mean reverting only half the patch.
>
> Might be a reasonable solution. But right now I'm annoyed that the
> buildfarm is broken, and I'm also convinced that this didn't get
> adequate testing.
I had focused testing primarily on the "unnest" cases that I had
described in my original note. I did a couple of casts and had no issue;
I did not test with pg_dump / pg_upgrade, but noting to do so in the
future in cases like this.
> I think "revert and reconsider" is the way
> forward for today.
I don't want the buildfarm broken so I'm fine if this is the best way
forward. If we can keep the "unnest" functionality I would strongly
suggest it as that was the premise of the original note to complete the
utility of multiranges for v14. The casting, while convenient, is not
needed.
Jonathan
Attachments:
OpenPGP_signature (application/pgp-signature, 839B) 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-hackers@postgresql.org
Cc: jkatz@postgresql.org, tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org, aekorotkov@gmail.com, pryzby@telsasoft.com, zyu@yugabyte.com
Subject: Re: unnesting multirange data types
In-Reply-To: <b8209c06-88ab-83a4-5b20-455a518d023b@postgresql.org>
References: <202106151728.5kbtjl7or3g2@alvherre.pgsql> <429332.1623779540@sss.pgh.pa.us> <b8209c06-88ab-83a4-5b20-455a518d023b@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