RE: Table refer leak in logical replication - Mailing list pgsql-hackers

From tanghy.fnst@fujitsu.com
Subject RE: Table refer leak in logical replication
Date
Msg-id OS0PR01MB6113BA0A760C9964A4A0C5C2FB769@OS0PR01MB6113.jpnprd01.prod.outlook.com
Whole thread Raw
In response to Re: Table refer leak in logical replication  (Amit Langote <amitlangote09@gmail.com>)
List pgsql-hackers
On Tuesday, April 6, 2021 2:25 PM Amit Langote <amitlangote09@gmail.com> wrote:
>While updating the patch to do so, it occurred to me that maybe we
>could move the ExecInitResultRelation() call into
>create_estate_for_relation() too, in the spirit of removing
>duplicative code.  See attached updated patch.

Thanks for your fixing. The code LGTM.
Made a confirmation right now, the problem has been solved after applying your patch.

Regards,
Tang

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: subtransaction performance regression [kind of] due to snapshot caching
Next
From: Noah Misch
Date:
Subject: Re: policies with security definer option for allowing inline optimization