Re: pgsql: CREATE SUBSCRIPTION ... SERVER. - Mailing list pgsql-committers

From Jeff Davis
Subject Re: pgsql: CREATE SUBSCRIPTION ... SERVER.
Date
Msg-id f48610c90e69de4b30841361c568c3765e8f3dfe.camel@j-davis.com
Whole thread Raw
In response to Re: pgsql: CREATE SUBSCRIPTION ... SERVER.  (Jeff Davis <pgsql@j-davis.com>)
List 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

pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Extend DomainHasConstraints() to optionally check constraint vol
Next
From: Michael Paquier
Date:
Subject: pgsql: pgstattuple: Optimize btree and hash index functions with stream