Avoid allocations in critical sections.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 4 Apr 2014 10:12:38 +0000 (13:12 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 4 Apr 2014 10:25:45 +0000 (13:25 +0300)
commit129b8adbc8cd7acd435904890a12888ead7a5ba4
tree34448059285b6c09638fd8a8cdc188cd87484ef6
parent98b1dda7f760256366cd81fa476dc471e14a3168
Avoid allocations in critical sections.

If a palloc in a critical section fails, it becomes a PANIC.
src/backend/access/nbtree/nbtinsert.c
src/backend/access/transam/xlog.c
src/backend/storage/page/bufpage.c