Re: Remaining calls of heap_close/heap_open in the tree

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Remaining calls of heap_close/heap_open in the tree
Дата
Msg-id 19298.1571300139@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Remaining calls of heap_close/heap_open in the tree  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
> On 2019-10-17 10:47:06 +0900, Michael Paquier wrote:
>> I have just bumped into $subject, and we now use the table_*
>> equivalents in the code.  Any objections to the simple patch attached
>> to clean up that?

> They're not really "remaining", as much as having been introduced after
> the introduction of table_open()/close()...

> Wonder if it's worth removing the backward compat ones from master? I
> don't quite think so, but...

If we don't remove 'em, we'll keep getting new calls from patches that
haven't been updated.

            regards, tom lane



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: parallel restore sometimes fails for FKs to partitioned tables
Следующее
От: Dilip Kumar
Дата:
Сообщение: Re: Questions/Observations related to Gist vacuum