pgsql: Invent a new memory context primitive, MemoryContextSetParent.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Invent a new memory context primitive, MemoryContextSetParent.
Дата
Msg-id E1R2qf3-0001Gs-W5@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Invent a new memory context primitive, MemoryContextSetParent.

This function will be useful for altering the lifespan of a context after
creation (for example, by creating it under a transient context and later
reparenting it to belong to a long-lived context).  It costs almost no new
code, since we can refactor what was there.  Per my proposal of yesterday.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b0025bd95703aaedc4ff23ddcfbde9597fa0919d

Modified Files
--------------
src/backend/utils/mmgr/mcxt.c |   82 +++++++++++++++++++++++++++++++---------
src/include/utils/memutils.h  |    2 +
2 files changed, 65 insertions(+), 19 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Remove no-longer-used variable.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: In the final emptying phase of the new GiST buffering build, set