Re: AllocSetContextCreate changes breake extensions - Mailing list pgsql-hackers

From Chapman Flack
Subject Re: AllocSetContextCreate changes breake extensions
Date
Msg-id aa189db3-968c-b09d-7634-aae5330d150b@anastigmatix.net
Whole thread Raw
In response to Re: AllocSetContextCreate changes breake extensions  (Christoph Berg <myon@debian.org>)
List pgsql-hackers
On 10/12/2018 01:10 PM, Christoph Berg wrote:
> Re: Andres Freund 2018-10-12 
> Andres' idea would enable the old code to continue to work, but
> couldn't we additionally to backpatch the ALLOCSET_*_SIZES macros, so
> the new code works also on old versions that didn't get the new
> AllocSetContextCreate macro?

That's effectively what PL/Java did, just for itself. Was pretty
straightforward.

https://github.com/tada/pljava/commit/3b67999

-Chap


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: AllocSetContextCreate changes breake extensions
Next
From: Robert Haas
Date:
Subject: Re: Index Skip Scan