pgsql: Add an Assertion that you don't palloc within a critical section
pgsql: 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. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/4a170ee9e0ebd7021cb1190fabd5b0cbe2effb8e Modified Files -------------- src/backend/utils/mmgr/mcxt.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+)