]> granicus.if.org Git - postgresql/commit
Add an Assertion that you don't palloc within a critical section.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 4 Apr 2014 11:27:18 +0000 (14:27 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 4 Apr 2014 11:28:54 +0000 (14:28 +0300)
commit4a170ee9e0ebd7021cb1190fabd5b0cbe2effb8e
tree617f5ae69a7552bdbc5ff9f3c3125e6c86ed6985
parent877b088785b178c50e7976d86c82dfafa4031792
Add an Assertion that you don't palloc within a critical section.

This caught a bunch of cases doing that already, which I just fixed in
previous commit. This is the assertion itself.

Per Tom Lane's idea.
src/backend/utils/mmgr/mcxt.c