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

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Move out-of-memory error checks from aset.c to mcxt.c
Date: 2015-01-29 15:29:44
Message-ID: E1YGr2O-00085w-Av@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2015-01-29 17:46:43 pgsql: Fix bug where GIN scan keys were not initialized with gin_fuzzy_
Previous Message Stephen Frost 2015-01-29 04:22:02 pgsql: Reword CREATE POLICY parameter descriptions