Re: TupleTableSlot abstraction - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: TupleTableSlot abstraction
Date
Msg-id 20190227064250.GF3540@paquier.xyz
Whole thread Raw
In response to Re: TupleTableSlot abstraction  (Andres Freund <andres@anarazel.de>)
Responses Re: TupleTableSlot abstraction  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers
On Tue, Feb 26, 2019 at 10:38:45PM -0800, Andres Freund wrote:
> Im not sure I understand. How can adding a memory context + reset to
> ctas and matview receivers negatively impact other dest receivers?

I don't think you got my point here: imagine that a plugin use the
current receiveSlot logic from createas.c or matview.c, and forgets to
free the tuple copied.  On v11, that works fine.  On current HEAD,
they win silently a new leak.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Autovaccuum vs temp tables crash
Next
From: Haribabu Kommi
Date:
Subject: Re: Libpq support to connect to standby server as priority