Provide a way to supress the "out of memory" error when allocating.
Using the new interface MemoryContextAllocExtended, callers can specify MCXT_ALLOC_NO_OOM if they are prepared to handle a NULL return value. Michael Paquier, reviewed and somewhat revised by me. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/bd4e2fd97d3db84bd970d6051f775b7ff2af0e9d Modified Files -------------- src/backend/utils/mmgr/mcxt.c | 40 ++++++++++++++++++++++++++++++++++++++++ src/include/utils/palloc.h | 9 +++++++++ 2 files changed, 49 insertions(+) -- Sent via pgsql-committers mailing list ([email protected]) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers
