Re: Remaining calls of heap_close/heap_open in the tree

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Remaining calls of heap_close/heap_open in the tree
Дата
Msg-id 20191017110205.fdr43tqkp4m4r2tp@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Remaining calls of heap_close/heap_open in the tree  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Ответы Re: Remaining calls of heap_close/heap_open in the tree
Список pgsql-hackers
Hi,

On 2019-10-17 06:58:27 -0300, Alvaro Herrera wrote:
> On 2019-Oct-17, Michael Paquier wrote:
> 
> > On Thu, Oct 17, 2019 at 01:04:50AM -0700, Andres Freund wrote:
> > > Wonder if it's worth removing the backward compat ones from master? I
> > > don't quite think so, but...
> > 
> > I would vote for the removal so as we'll never see that again in
> > core.  Let's see what others think here.
> 
> Agreed.  There are enough other API changes that if an external
> extension wants to keep using heap_* in their code, they can add their
> own defines anyway.

There's plenty extensions that essentially only need to change
heap_open/close to table_open/close between 11 and 12. And it's
especially the simpler ones where that's the case.

Greetings,

Andres Freund



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Amit Kapila
Дата:
Сообщение: Re: [HACKERS] Block level parallel vacuum
Следующее
От: Fabien COELHO
Дата:
Сообщение: Re: pgbench - extend initialization phase control