Re: renaming ExecStoreWhateverTuple - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: renaming ExecStoreWhateverTuple
Date
Msg-id 20190325154929.GA24442@alvherre.pgsql
Whole thread Raw
In response to Re: renaming ExecStoreWhateverTuple  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On 2019-Mar-25, Robert Haas wrote:

> On Mon, Mar 25, 2019 at 11:27 AM Alvaro Herrera
> <alvherre@2ndquadrant.com> wrote:
> > Should we keep ExecStoreTuple as a compatibility macro for third party
> > code?
> 
> I think that might be rather dangerous, actually, because slots now
> have a type, which they didn't before.  You have to use the correct
> function for the kind of slot you've got.

Ah, right.  I was thinking of assuming that the un-updated third-party
code would always have a slot of type heap, but of course that's not
guaranteed.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: renaming ExecStoreWhateverTuple
Next
From: Andres Freund
Date:
Subject: Re: renaming ExecStoreWhateverTuple