Re: [19] CREATE SUBSCRIPTION ... SERVER - Mailing list pgsql-hackers

From Álvaro Herrera
Subject Re: [19] CREATE SUBSCRIPTION ... SERVER
Date
Msg-id 202603181758.v4ft7uachdmm@alvherre.pgsql
Whole thread Raw
In response to Re: [19] CREATE SUBSCRIPTION ... SERVER  (Álvaro Herrera <alvherre@kurilemu.de>)
List pgsql-hackers
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.

-- 
Álvaro Herrera         PostgreSQL Developer  —  https://www.EnterpriseDB.com/
"I love the Postgres community. It's all about doing things _properly_. :-)"
(David Garamond)

Attachment

pgsql-hackers by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Proposal to allow setting cursor options on Portals
Next
From: "Daniel Verite"
Date:
Subject: Re: Supporting non-deterministic collations with tailoring rules.