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 1g4yrM-0002k8-HU for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Sep 2018 01:43:25 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g4yrK-0001kR-W0 for pgsql-hackers@arkaria.postgresql.org; Wed, 26 Sep 2018 01:43:22 +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 1g4yrK-0001kJ-0k for pgsql-hackers@lists.postgresql.org; Wed, 26 Sep 2018 01:43:22 +0000 Received: from [66.111.4.25] (helo=out1-smtp.messagingengine.com) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g4yrC-0002gA-Vl for pgsql-hackers@postgresql.org; Wed, 26 Sep 2018 01:43:20 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 0141520DD4; Tue, 25 Sep 2018 21:42:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 25 Sep 2018 21:42:54 -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=IfzHttkopizzvjhDmGom+d39/moc0Cl+yBUp9IacerQ=; b=URA9mVgs /EXw52SdAbMzwIjo+4lTmHBSbVryBGry9tJstUzcK9TwfY6fhrQ1FW77E2Gm/6AS NZE6JJeOGRf8+FbfSa5aAVqQtMx5lGljR7gYeCHfBiGlhPvE6GoHbY4CyKOFLgOU xxqZiX8yB3L1xyocPmIvwY9TJjQYQAN1Z5+abUxJsSkuHbkzI8EDEGRqpNqItlrn OFYenyw2ecMl92bOQn/QYTDcEsLlKPFhhqnUhGJbnVdFiClA1adL0NhyBKj4vLG+ hjCsElj/mDO1QUku/2ThzUA78IH9TUSPhTj1/v9mmK09mWUcPtaoV+iCWGBH1sN7 ocshrt7bOCbeYg== 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=IfzHttkopizzvjhDmGom+d39/moc0 Cl+yBUp9IacerQ=; b=c8ZPLXcC72TJOJ7jSTP96Jsw58bICpdAyTjyknhq5Iz48 TzTJbMq6TLzxuEAikRgymHExOaANGhmHcv8XNbAbDYljP8/IxrzWkSs+ILao5Zz9 00QGlAAK/P0BQHi7m8N9yfDaXuIkaXZJuxo7JezvuYZNVGv6JKIv7YP3ydDWN/Qd QmSNLadOokXTsbRj8vp61VLScCtwHUncqQ/jrjiDOsNaf4/o3F0GbLrxoXeptuPq W7h93CjxMfvEQoIoKk8MAP56fHYz/2QZ6+Kdsf8zCIqTjK+gVl0G5P2nioZr/gal S9Mdjjg4ts1buClgi8K87Jyv4mggJI+QTPh2ASr2w== 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 4A148102DB; Tue, 25 Sep 2018 21:42:53 -0400 (EDT) Date: Tue, 25 Sep 2018 18:42:51 -0700 From: Andres Freund To: Michael Paquier Cc: Postgres hackers Subject: Re: pgsql: Remove absolete function TupleDescGetSlot(). Message-ID: <20180926014251.zrn27ljtqlqjzswx@alap3.anarazel.de> References: <20180926000413.GC1659@paquier.xyz> <20180926001038.fh7rrhrqrwvpu43t@alap3.anarazel.de> <20180926013851.GG1659@paquier.xyz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180926013851.GG1659@paquier.xyz> X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.111.4.25 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-09-26 10:38:51 +0900, Michael Paquier wrote: > On Tue, Sep 25, 2018 at 05:10:39PM -0700, Andres Freund wrote: > >> git grep TupleDescGetSlot > >> doc/src/sgml/xfunc.sgml: * user-defined SRFs that use the deprecated TupleDescGetSlot(). > >> src/include/funcapi.h: * user-defined SRFs that use the deprecated TupleDescGetSlot(). > > > > But here I'm less convinced. It's not entirely clear to me that the only > > real reason for this to exists actually was TupleDescGetSlot(). OTOH, I > > can't really see any proper reason to have it either. > > I have not been following the recent thread about the refactoring of > TupleSlot and such very closely, but if you don't plan to use > TupleTableSlot in FuncCallContext in the future, cannot this just go > away? The function is not here anymore, so my take would be to get rid > of all things which relied on its presence. My point is that FuncCallContext->slot isn't actually all that related to TupleDescGetSlot() and could be used entirely independently. Greetings, Andres Freund