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

From Jan Wieck
Subject Re: Double linking MemoryContext children
Date
Msg-id 55F6BC82.4020801@wi3ck.info
Whole thread Raw
In response to Re: Double linking MemoryContext children  (Kevin Grittner <kgrittn@ymail.com>)
Responses Re: Double linking MemoryContext children
List pgsql-hackers
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.


Regards, Jan

-- 
Jan Wieck
Senior Software Engineer
http://slony.info



pgsql-hackers by date:

Previous
From: Tomas Vondra
Date:
Subject: Re: On-demand running query plans using auto_explain and signals
Next
From: Oleg Bartunov
Date:
Subject: Re: WIP: Rework access method interface