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 09:39:34
Message-ID: 15e7ae32-ee3b-4ba5-987a-8454fb6f07a4@app.fastmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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.

--
Álvaro Herrera

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Marco Nenciarini 2026-03-18 09:49:25 Re: BUG: Cascading standby fails to reconnect after falling back to archive recovery
Previous Message Junwang Zhao 2026-03-18 09:38:20 Re: SQL Property Graph Queries (SQL/PGQ)