Re: renaming ExecStoreWhateverTuple

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: renaming ExecStoreWhateverTuple
Дата
Msg-id 20190325154929.GA24442@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: renaming ExecStoreWhateverTuple  (Robert Haas <robertmhaas@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: renaming ExecStoreWhateverTuple
Следующее
От: Andres Freund
Дата:
Сообщение: Re: renaming ExecStoreWhateverTuple