Re: Double linking MemoryContext children

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Re: Double linking MemoryContext children
Дата
Msg-id 55F6BC82.4020801@wi3ck.info
обсуждение исходный текст
Ответ на Re: Double linking MemoryContext children  (Kevin Grittner <kgrittn@ymail.com>)
Ответы Re: Double linking MemoryContext children  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список 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 по дате отправления:

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: On-demand running query plans using auto_explain and signals
Следующее
От: Oleg Bartunov
Дата:
Сообщение: Re: WIP: Rework access method interface