Re: pgsql: Remove absolete function TupleDescGetSlot(). - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pgsql: Remove absolete function TupleDescGetSlot().
Date
Msg-id 20180926034138.GI1659@paquier.xyz
Whole thread Raw
In response to Re: pgsql: Remove absolete function TupleDescGetSlot().  (Andres Freund <andres@anarazel.de>)
Responses Re: pgsql: Remove absolete function TupleDescGetSlot().  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
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.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Segfault when creating partition with a primary key and sql_droptrigger exists
Next
From: Thomas Munro
Date:
Subject: Re: pgbench - add pseudo-random permutation function