git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 3d660d3) | patch
Provide a way to supress the "out of memory" error when allocating.
2015年1月30日 17:56:48 +0000 (12:56 -0500)
2015年1月30日 17:56:48 +0000 (12:56 -0500)
commit bd4e2fd97d3db84bd970d6051f775b7ff2af0e9d
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.
src/backend/utils/mmgr/mcxt.c diff | blob | blame | history
src/include/utils/palloc.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /