Avoid allocations in critical sections.
If a palloc in a critical section fails, it becomes a PANIC.
Branch
------
REL9_0_STABLE
Details
-------
http://git.postgresql.org/pg/commitdiff/af7004ed6c0e5b052daee1760bf12179d40166d8
Modified Files
--------------
src/backend/access/nbtree/nbtinsert.c | 55 +++++++++++++++++----------------
src/backend/access/transam/xlog.c | 10 +++---
src/backend/storage/page/bufpage.c | 21 ++++++-------
3 files changed, 43 insertions(+), 43 deletions(-)