Re: [19] CREATE SUBSCRIPTION ... SERVER

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Jeff Davis <pgsql(at)j-davis(dot)com>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
Cc: Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>, Shlok Kyal <shlok(dot)kyal(dot)oss(at)gmail(dot)com>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, Joe Conway <mail(at)joeconway(dot)com>, "L(dot) pgsql-hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [19] CREATE SUBSCRIPTION ... SERVER
Date: 2026-03-18 18:01:43
Message-ID: 202603181758.v4ft7uachdmm@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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 Content-Type Size
owncxt.patch text/x-diff 4.7 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Daniel Verite 2026-03-18 18:21:52 Re: Supporting non-deterministic collations with tailoring rules.
Previous Message Dave Cramer 2026-03-18 18:00:25 Re: Proposal to allow setting cursor options on Portals