pgsql: Move out-of-memory error checks from aset.c to mcxt.c

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Move out-of-memory error checks from aset.c to mcxt.c
Дата
Msg-id E1YGr2O-00085w-Av@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Move out-of-memory error checks from aset.c to mcxt.c

This potentially allows us to add mcxt.c interfaces that do something
other than throw an error when memory cannot be allocated.  We'll
handle adding those interfaces in a separate commit.

Michael Paquier, with minor changes by me

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3d6d1b585524aab62616d20518fe1fe3be5d1a39

Modified Files
--------------
src/backend/utils/mmgr/aset.c |   39 ++++++++----------------
src/backend/utils/mmgr/mcxt.c |   66 +++++++++++++++++++++++++++++++++++++++++
2 files changed, 79 insertions(+), 26 deletions(-)


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: pgsql: Reword CREATE POLICY parameter descriptions
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix bug where GIN scan keys were not initialized with gin_fuzzy_