Subject: Re: [19] CREATE SUBSCRIPTION ... SERVER

From: Amit Kapila <[email-masked]>
Date: Sat, 21 Mar 2026 16:25:06 +0530

On Wed, Mar 18, 2026 at 11:31 PM Álvaro Herrera <[email-masked]> wrote:
>
> On 2026-Mar-18, Álvaro Herrera wrote:
>
> > On 2026-03-17, Jeff Davis wrote:
> >
> > > Then we have to invent a deep copy for the Subscription, and we've
> > > already seen that the FreeSubscrpition() method was not being
> > > maintained properly.
> >
> > Maybe another possibility would be to use a separate memory context
> > for each subscription, initially making it a child of the transaction
> > context, and then reparenting it as appropriate.
>
> I mean something like this on top of your 0003.
>

+1. This approach and patch looks like a better way to deal with this issue.

-- 
With Regards,
Amit Kapila.