Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5Fb9-0000nU-FL for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Sep 2018 19:35:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g5Fb7-0004wo-O8 for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Sep 2018 19:35:45 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5Fb6-0004wJ-C8 for pgsql-hackers@lists.postgresql.org; Wed, 26 Sep 2018 19:35:45 +0000 Received: from out1-smtp.messagingengine.com ([66.111.4.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g5Far-0000yU-Th for pgsql-hackers@postgresql.org; Wed, 26 Sep 2018 19:35:43 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id B9B1A21B96; Wed, 26 Sep 2018 15:35:27 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 26 Sep 2018 15:35:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=3z6Ldh5dyQZ7KqHNEc8YwhsRXbxjhOMc6SYywN8IiTQ=; b=GiB+PZVR QDyN0MmyV80oQqH8DsTN0w+wtH0cko6z7JVe7SZJW78tuRePwc90PhnKiVLUuEbr RgekNuisrEp8zYHxzAgjmJWT1jo1+8yCerihr00ttjBT8si49r75sfskz3IUaJYf Yx6V4i28DkpPs6slVj/tm1H1QXJSy038Wf/MsMyaXlnOgVJBvbyavBjvrFnaO7t8 Sw+/koDCzQGZZANxtbk0ScK51U68THuk7nXwZoO5t7MrfhygTjpML244OPMG9KWo L3OgKHhfyHKWZeI8UQiHnAN3WlB71gLHLr/OH+DGRMLNmhcwkG1gxSHUYPz6nukX 4cKHe+Qci14IKg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=3z6Ldh5dyQZ7KqHNEc8YwhsRXbxjh OMc6SYywN8IiTQ=; b=oUyU7jkchb9m1vi+l++i2uuAf1y8dPlAL+msySfe8heMS xi44C3tzdxKNtPoJxG4QyEhW/EbHFE4JRmxTCg1d08pB4ICAn5usYYo/hW5sPZqD HWeDMkbeiUyy5OCxdXJbTljQbGTzPv/KbYAdFAjL5eaI5WUBqEoDbc6dReO1oaK8 Gt/rM54xRT+HI78KTmmGA0Sotj+14BfGT1eSn9MJO7gNuEle7Gg4+cQ10zjLWhT1 HgsvYHcK0VAgDWmbBlQQW5MCzgE4GiVl1bl6Wacdi0dOnH9ceeBPdd4Z2Kg2blvt OhQFu+FhfNDEVnW2v/MPL1pB2+Gg6c0YRe/f6gHAQ== X-ME-Proxy: X-ME-Sender: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id CFC74102D6; Wed, 26 Sep 2018 15:35:26 -0400 (EDT) Date: Wed, 26 Sep 2018 12:35:25 -0700 From: Andres Freund To: Michael Paquier Cc: Postgres hackers Subject: Re: pgsql: Remove absolete function TupleDescGetSlot(). Message-ID: <20180926193525.7nbw6tnb35xcgtm4@alap3.anarazel.de> References: <20180926000413.GC1659@paquier.xyz> <20180926001038.fh7rrhrqrwvpu43t@alap3.anarazel.de> <20180926013851.GG1659@paquier.xyz> <20180926014251.zrn27ljtqlqjzswx@alap3.anarazel.de> <20180926034138.GI1659@paquier.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180926034138.GI1659@paquier.xyz> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi, On 2018-09-26 12:41:38 +0900, Michael Paquier wrote: > On Tue, Sep 25, 2018 at 06:42:51PM -0700, Andres Freund wrote: > > My point is that FuncCallContext->slot isn't actually all that related > > to TupleDescGetSlot() and could be used entirely independently. > > That's fair. Why not just replacing the existing comment with something > like "slot can be used in your own context to store tuple values, > useful in the context of user-defined SRFs"? Just my 2c. I've tried to do search for users of FuncCallContext->slot and couldn't find anything. Therefore I'm more inclined to drop it too - just about all cases where it's useful seem to require a more extensive datastructure around anyway. Unless somebody protests I'm going to that in a few - if somebody later in the cycle signals a need for it, we can still revert that part. Greetings, Andres Freund