Re: pgsql: CREATE SUBSCRIPTION ... SERVER.

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Peter Eisentraut <peter(at)eisentraut(dot)org>, Jeff Davis <jdavis(at)postgresql(dot)org>, pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: CREATE SUBSCRIPTION ... SERVER.
Date: 2026-03-13 22:19:16
Message-ID: 9b7764e7265ce963915864d9b6f1234ed898d28b.camel@j-davis.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Fri, 2026-03-13 at 16:48 -0400, Andres Freund wrote:
> I suspect the more scalable approach would be to create a dedicated
> memory
> context for each GetSubscription() call that's then torn down during
> invalidation.

Attached. This is posted as an alternative to the previous patch.

Regards,
Jeff Davis

Attachment Content-Type Size
v22-0001-Temp-context-for-maybe_reread_subscription.patch text/x-patch 6.9 KB

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tomas Vondra 2026-03-13 22:28:49 pgsql: Use GetXLogInsertEndRecPtr in gistGetFakeLSN
Previous Message Heikki Linnakangas 2026-03-13 21:57:35 pgsql: Free memory allocated for unrecognized_protocol_options