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 1jFIwg-00076l-17 for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Mar 2020 14:48:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jFIwe-0000pT-Po for pgsql-hackers@arkaria.postgresql.org; Fri, 20 Mar 2020 14:48:20 +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 1jFIwe-0000pM-GV for pgsql-hackers@lists.postgresql.org; Fri, 20 Mar 2020 14:48:20 +0000 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1jFIwb-0003kT-Dq for pgsql-hackers@postgresql.org; Fri, 20 Mar 2020 14:48:20 +0000 Received: by mail-qk1-x743.google.com with SMTP id t17so7040055qkm.6 for ; Fri, 20 Mar 2020 07:48:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=USXK2z2z2S60vHjWsKHCpvuroirLVyX6Uyui/4M5yoQ=; b=bOuU4OMcvMs9E10iPHh7wrqqbQZSf/9vmzucVDKX37Lj6LUrB236osn0erGf9fH4Oo KJdID+NwLbIyWCOEW1DpHtpSKNLRwIDqWbkjx1o+zebI5CQYlALMiWZ82vFUIj5ADD2t tlC9Oyd5Cm3ssIdTsT30ir+e2lMaZ6+a6QR3FG7h+NeU6V4ZeGP8TR0G0UcxcLC8ZDYa pyrhJ+OW14ZFSfF21R4g8QxnJEdquBUUM88q1X0InzYRySLIhlQXNpydsvtfuCh68zuk fmSOf9hUtVdtrSzCbOgL5ZtzQh5lDv4Rr3NdOdkQ/zum+qOPmA4YRAxXWUmLmKynd8EW xEwg== 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:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=USXK2z2z2S60vHjWsKHCpvuroirLVyX6Uyui/4M5yoQ=; b=Cc8GwkuNqC3IsZJRfBmItF00b3/vmslZnVmVAFr3KuzOhMo2pjBhVYSiIM6MjDlD6m YOJJmmkLVkgXVhSe9gd7/+QD7N1IeoZ0O4twgrJ1myo+FcMUtCMfVmzgnK5AZDAnjNIZ /YHva7eqiIvL9uH0XFVDguMwb/izTsf/WM6xxsGd6dWogmRYm3xFhETlRXwHiQgPrwXo QNNLWb4fmkoyGqQVxKPRL2uOIcBZyeBRynCn+lrJmd8e74wRZMDwbsFd2u8TYTmxH+eZ 45Tv6hS/muaG7zwzNX6aoBgav/yG5MrD5yoMiSl/R0WQHOGiKkdyJYchnyPWttl2x+en FFeQ== X-Gm-Message-State: ANhLgQ3AadKB5CPXBxRxcW3LBDtlHEnl8nfmpBGNLJ6a6sVJtTw8Pop5 8KUgbijGQefDh63i7xyssPXoGg== X-Google-Smtp-Source: ADFU+vuAn5dH5l7hI1NYybbFhQ26gOPg9BpeGcwUhTyBITjzJT7PckbxWMXex+87eRJcn3caDUa3/Q== X-Received: by 2002:a37:317:: with SMTP id 23mr2415628qkd.233.1584715695540; Fri, 20 Mar 2020 07:48:15 -0700 (PDT) Received: from nimloth.alvh.no-ip.org ([201.186.208.119]) by smtp.gmail.com with ESMTPSA id f13sm4630556qti.47.2020.03.20.07.48.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Mar 2020 07:48:14 -0700 (PDT) Received: by nimloth.alvh.no-ip.org (Postfix, from userid 1000) id CA7053007D1; Fri, 20 Mar 2020 11:48:12 -0300 (-03) Date: Fri, 20 Mar 2020 11:48:12 -0300 From: Alvaro Herrera To: Paul A Jungwirth Cc: Tom Lane , PostgreSQL-development , Jeff Davis , Pavel Stehule , David Fetter Subject: Re: range_agg Message-ID: <20200320144812.GA12308@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Mar-14, Paul A Jungwirth wrote: > On Fri, Mar 13, 2020 at 2:39 PM Alvaro Herrera wrote: > > Here's the rebased version. > > > > I just realized I didn't include the API change I proposed in > > https://postgr.es/m/20200306200343.GA625@alvherre.pgsql ... > > Thanks for your help with this Alvaro! > > I was just adding your changes to my own branch and I noticed your > v12-0001 has different parameter names here: > > static MultirangeIOData * > -get_multirange_io_data(FunctionCallInfo fcinfo, Oid mltrngtypid, > IOFuncSelector func) > +get_multirange_io_data(FunctionCallInfo fcinfo, Oid rngtypid, > IOFuncSelector func) > I'm pretty sure mltrngtypid is the correct name here. Right? Let me > know if I'm missing something. :-) Heh. The intention here was to abbreviate to "typid", but if you want to keep the longer name, it's OK too. I don't think that name is particularly critical, since it should be obvious that it must be a multirange type. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services