Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jAfvg-0000wr-Li for pgsql-hackers@arkaria.postgresql.org; Sat, 07 Mar 2020 20:20:12 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jAfve-0007kZ-LE for pgsql-hackers@arkaria.postgresql.org; Sat, 07 Mar 2020 20:20:10 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jAfve-0007j0-By for pgsql-hackers@lists.postgresql.org; Sat, 07 Mar 2020 20:20:10 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jAfvb-0000ze-Un for pgsql-hackers@postgresql.org; Sat, 07 Mar 2020 20:20:10 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 027KJxdV013801; Sat, 7 Mar 2020 15:19:59 -0500 From: Tom Lane To: Alvaro Herrera cc: Paul A Jungwirth , Pavel Stehule , Jeff Davis , Pgsql Hackers Subject: Re: range_agg In-reply-to: <20200304022849.GA5402@alvherre.pgsql> References: <20200304022849.GA5402@alvherre.pgsql> Comments: In-reply-to Alvaro Herrera message dated "Tue, 03 Mar 2020 23:28:49 -0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <13799.1583612399.1@sss.pgh.pa.us> Date: Sat, 07 Mar 2020 15:19:59 -0500 Message-ID: <13800.1583612399@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Alvaro Herrera writes: > [ v11 patches ] The cfbot isn't too happy with this; it's getting differently-ordered results than you apparently did for the list of owned objects in dependency.out's DROP OWNED BY test. Not sure why that should be --- it seems like af6550d34 should have ensured that there's only one possible ordering. However, what I'm on about right at the moment is that I don't think there should be any delta in that test at all. As far as I can see, the design idea here is that multiranges will be automatically created over range types, and the user doesn't need to do that. To my mind, that means that they're an implementation detail and should not show up as separately-owned objects, any more than an autogenerated array type does. So somewhere there's a missing bit of code, or more than one missing bit, to make multiranges act as derived types, the way arrays are. regards, tom lane