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 1m3J82-0008N8-Sh for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Jul 2021 14:11:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m3J81-0006Im-Se for pgsql-hackers@arkaria.postgresql.org; Tue, 13 Jul 2021 14:11:17 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3J4t-0007vB-GR for pgsql-hackers@lists.postgresql.org; Tue, 13 Jul 2021 14:08:03 +0000 Received: from mail-il1-x136.google.com ([2607:f8b0:4864:20::136]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1m3J4p-0007Ud-Ud for pgsql-hackers@lists.postgresql.org; Tue, 13 Jul 2021 14:08:02 +0000 Received: by mail-il1-x136.google.com with SMTP id a11so23318022ilf.2 for ; Tue, 13 Jul 2021 07:07:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2XtUPTmmRr5oCX/iz6ESlXwRDOwe7BN8ufIsRNUyPbE=; b=CGCgRPVPDVczn3vFGJzf9MUMstNsue+4VZuvqfDDbbTv4BypoPVsBP5V6jKajFrily CydkoJ2FmoXZZpvD758fQ7lHJsClLj5TrU365o9uw5+ncuxATIJKhC/oUAvnFhcevw2l OQU1/OiZjLvxgsPEo000JgZhGDCWZRIYml8g8YmdIfTgbNb0eS3C9V6yb5D2F6yP6ASn bb3GwPrcRBUDkpt6ny9hWhyq0leowRvtXrmhHKh+GerCcRzXi8paKT5khMVwohTo+6Br pS4M/3gJfDycqmv1ISpzo/egcU6pr8JsJXHBF+G28h0jKG5AQegxedxB9PXJy3s3YkoF P7hw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2XtUPTmmRr5oCX/iz6ESlXwRDOwe7BN8ufIsRNUyPbE=; b=tSw8CFxAz/gqPNNWQuyq40owZdl2X7cTIRh5Shh9NNVlLweM/+wYsU7Gsk2BZ3JuSe 8rtdVHqo8KG0guwDbAx9nuNkEu1KVJgQGpTe5CSDixtysTGPhWgoIl/o2nTu8ors/iZ7 FJB1wjC1jN3xS/wtt8QP19J9pnyleAYjjEUFwRzHtfBrwmCF+MntdNYKdlxn9exwlQiQ cZNdoNdzds+mOJs0filFjKvc+A5kaBG8WybT6cAqQp5wgZJgdVMXcnbm2sALCM/90dwB HeVqIcbE6REMoE8vuZo3Sb+92bXEdqweJF447BXoLnUHgdNJQ5x1TmgdJ9CwAUHI3sl8 0PhA== X-Gm-Message-State: AOAM5311afATRqNGyIvhyiO5ZBIiMj+UuN/mJPCosB5MhDT9vHpee63b 0TAI4nblV8VGBCMagZC1W/dIVg== X-Google-Smtp-Source: ABdhPJw4zLnEf4zNabt6AI/gy1vuKGP9a1fqGUy/MmIKBVMkRdxSP3bBj+lUyoTwURSCADoSSRmi4w== X-Received: by 2002:a92:6509:: with SMTP id z9mr3106647ilb.184.1626185277282; Tue, 13 Jul 2021 07:07:57 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id j4sm9637575iom.28.2021.07.13.07.07.56 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Jul 2021 07:07:56 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id 30276800C52; Tue, 13 Jul 2021 09:07:55 -0500 (CDT) Date: Tue, 13 Jul 2021 09:07:55 -0500 From: Justin Pryzby To: Alexander Korotkov Cc: Alvaro Herrera , Noah Misch , Tom Lane , Jonathan S Katz , Zhihong Yu , pgsql-hackers@lists.postgresql.org Subject: Re: unnesting multirange data types Message-ID: <20210713140754.GA9600@telsasoft.com> References: <202107101634.s6rujyk7wklj@alvherre.pgsql> <20210710222021.GE1301@telsasoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Jul 13, 2021 at 03:11:16PM +0300, Alexander Korotkov wrote: > On Sun, Jul 11, 2021 at 1:20 AM Justin Pryzby wrote: > > On Sun, Jul 11, 2021 at 01:00:27AM +0300, Alexander Korotkov wrote: > > > On Sat, Jul 10, 2021 at 7:34 PM Alvaro Herrera wrote: > > > > On 2021-Jun-27, Alexander Korotkov wrote: > > > > > > > > > BTW, I found some small inconsistencies in the declaration of > > > > > multirange operators in the system catalog. Nothing critical, but if > > > > > we decide to bump catversion in beta3, this patch is also nice to > > > > > push. > > > > > > > > Hmm, I think you should push this and not bump catversion. That way, > > > > nobody is forced to initdb if we end up not having a catversion bump for > > > > some other reason; but also anybody who initdb's with beta3 or later > > > > will get the correct descriptions. > > > > > > > > If you don't push it, everybody will have the wrong descriptions. > > > > > > True, but I'm a bit uncomfortable about user instances with different > > > catalogs but the same catversions. On the other hand, initdb's with > > > beta3 or later will be the vast majority among pg14 instances. > > > > > > Did we have similar precedents in the past? > > > > It seems so. > > > > Note in particular 74ab96a45, which adds a new function with no bump. > > Although that one may not be a good precedent to follow, or one that's been > > followed recently. > > Justin, thank you very much for the summary. > > Given we have similar precedents in the past, I'm going to push the > patch [1] to master and pg14 if no objections. To be clear, do you mean with or without this hunk ? - oprrest => 'multirangesel', oprjoin => 'scalargtjoinsel' }, + oprrest => 'multirangesel', oprjoin => 'scalarltjoinsel' }, -- Justin