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

From Robert Haas
Subject pgsql: Move out-of-memory error checks from aset.c to mcxt.c
Date
Msg-id E1YGr2O-00085w-Av@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: Stephen Frost
Date:
Subject: pgsql: Reword CREATE POLICY parameter descriptions
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix bug where GIN scan keys were not initialized with gin_fuzzy_