diff options
author | Fujii Masao <fujii@postgresql.org> | 2015-04-03 17:36:12 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2015-04-03 17:36:12 +0900 |
commit | 8c8a886268dfa616193dadc98e44e0715f884614 (patch) | |
tree | 47caa3e9911b0362cf2e225df8f6e1b340af8f0d /src/backend/access/transam/xlogutils.c | |
parent | bc49d9324a464fce8f60e1bc14531631883021d4 (diff) | |
download | postgresql-8c8a886268dfa616193dadc98e44e0715f884614.tar.gz postgresql-8c8a886268dfa616193dadc98e44e0715f884614.zip |
Add palloc_extended for frontend and backend.
This commit also adds pg_malloc_extended for frontend. These interfaces
can be used to control at a lower level memory allocation using an interface
similar to MemoryContextAllocExtended. For example, the callers can specify
MCXT_ALLOC_NO_OOM if they want to suppress the "out of memory" error while
allocating the memory and handle a NULL return value.
Michael Paquier, reviewed by me.
Diffstat (limited to 'src/backend/access/transam/xlogutils.c')
0 files changed, 0 insertions, 0 deletions