Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltE6J-000343-Or for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Jun 2021 18:47:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ltE6I-00009h-Oy for pgsql-hackers@arkaria.postgresql.org; Tue, 15 Jun 2021 18:47:50 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltE6I-00008r-HZ for pgsql-hackers@lists.postgresql.org; Tue, 15 Jun 2021 18:47:50 +0000 Received: from relay4-d.mail.gandi.net ([217.70.183.196]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ltE6G-0006Jx-2v for pgsql-hackers@lists.postgresql.org; Tue, 15 Jun 2021 18:47:49 +0000 Received: (Authenticated sender: adsend@dunslane.net) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id AC376E0003; Tue, 15 Jun 2021 18:47:42 +0000 (UTC) Subject: Re: unnesting multirange data types To: Tom Lane , Alvaro Herrera Cc: Alexander Korotkov , "Jonathan S. Katz" , Justin Pryzby , Zhihong Yu , PostgreSQL Hackers References: <202106151728.5kbtjl7or3g2@alvherre.pgsql> <429332.1623779540@sss.pgh.pa.us> From: Andrew Dunstan Message-ID: Date: Tue, 15 Jun 2021 14:47:40 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <429332.1623779540@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/15/21 1:52 PM, Tom Lane wrote: > Alvaro Herrera 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 think "revert and reconsider" is the way > forward for today. > > (RMT hat on) That would be my inclination at this stage. The commit message states that it's trivial, but it seems not to be, and I suspect it should not have been done at this stage of the development cycle. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com