Re: TupleTableSlot abstraction

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: TupleTableSlot abstraction
Дата
Msg-id 20190227052152.GA3540@paquier.xyz
обсуждение исходный текст
Ответ на Re: TupleTableSlot abstraction  (Jeff Janes <jeff.janes@gmail.com>)
Ответы Re: TupleTableSlot abstraction  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On Sat, Feb 16, 2019 at 05:07:44PM -0500, Jeff Janes wrote:
> By blind analogy to the changes made to matview.c, I think that createas.c
> is missing a heap_freetuple, as attached.

I think that you are right.  CTAS and materialized views share a lot
when it comes to relation creation and initial table loading.  I have
reproduced the leak and could notice that your fix is correct.  So
committed.
--
Michael

Вложения

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

Предыдущее
От: John Naylor
Дата:
Сообщение: Re: pgsql: Avoid creation of the free space map for small heaprelations, t
Следующее
От: "Ideriha, Takeshi"
Дата:
Сообщение: RE: Protect syscache from bloating with negative cache entries