Re: Double linking MemoryContext children - Mailing list pgsql-hackers

From Jim Nasby
Subject Re: Double linking MemoryContext children
Date
Msg-id 5664E150.6050406@BlueTreble.com
Whole thread Raw
In response to Re: Double linking MemoryContext children  (Jan Wieck <jan@wi3ck.info>)
Responses Re: Double linking MemoryContext children  (Thom Brown <thom@linux.com>)
Re: Double linking MemoryContext children  (Kevin Grittner <kgrittn@gmail.com>)
List pgsql-hackers
On 9/14/15 7:24 AM, Jan Wieck wrote:
> On 09/12/2015 11:35 AM, Kevin Grittner wrote:
>
>> On the other hand, a grep indicates that there are two places that
>> MemoryContextData.nextchild is set (and we therefore probably need
>> to also set the new field), and Jan's proposed patch only changes
>> one of them.  If we do this, I think we need to change both places
>> that are affected, so ResourceOwnerCreate() in resowner.c would
>> need a line or two added.
>
> ResourceOwnerCreate() sets ResourceOwnerData.nextchild, not
> MemoryContextData.nextchild.

Anything ever happen with this? </Momjian-Mode>
-- 
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com



pgsql-hackers by date:

Previous
From: Peter Geoghegan
Date:
Subject: Re: Using quicksort for every external sort run
Next
From: Jim Nasby
Date:
Subject: Re: Attach comments to functions' parameters and return value