Re: pgsql: CREATE SUBSCRIPTION ... SERVER.

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>, Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: 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 01:15:09
Message-ID: f48610c90e69de4b30841361c568c3765e8f3dfe.camel@j-davis.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

On Wed, 2026-03-11 at 17:59 -0700, Jeff Davis wrote:
> That leaves some awkwardness, but I don't immediately see a cleaner
> way
> to do it. Suggestions welcome.

I did see a way to avoid the volatile entirely, it just needs a
redundant MemoryContextSwtichTo(). I think this is cleaner overall,
attached.

Regards,
Jeff Davis

Attachment Content-Type Size
v21-0001-Clean-up-PG_TRY-PG_FINALLY.patch text/x-patch 1.7 KB

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2026-03-13 01:48:58 pgsql: pgstattuple: Optimize btree and hash index functions with stream
Previous Message Andrew Dunstan 2026-03-12 22:06:31 pgsql: Enable fast default for domains with non-volatile constraints