Add an Assertion that you don't palloc within a critical section.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/mmgr/mcxt.c | modified | +24 −0 |