When is the MessageContext released?

Поиск
Список
Период
Сортировка
От Andy Fan
Тема When is the MessageContext released?
Дата
Msg-id CAKU4AWqTSs46HULxuWSq4rrAWYkjSqES3DtAQfssqx2xPCtUeQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: When is the MessageContext released?  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Hi :
  I run a query like "select * from t" and set the break like this:

break exec_simple_query
break MemoryContextDelete
  commands
   p context->name
   c
  end

I can see most of the MemoryContext is relased, but never MessageContext,  when will it be released?

/*
* Create the memory context we will use in the main loop.
*
* MessageContext is reset once per iteration of the main loop, ie, upon
* completion of processing of each command message from the client.
*/



Thanks!

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Markus Winand
Дата:
Сообщение: Re: Index INCLUDE vs. Bitmap Index Scan
Следующее
От: Richard Guo
Дата:
Сообщение: Re: NOT IN subquery optimization