pgsql: Report memory context stats upon out-of-memory in repalloc[_huge - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Report memory context stats upon out-of-memory in repalloc[_huge
Date
Msg-id E1aeySx-00056v-On@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Report memory context stats upon out-of-memory in repalloc[_huge].

This longstanding functionality evidently got lost in commit
3d6d1b585524aab6.  Noted while studying an OOM report from Jaime
Casanova.  Backpatch to 9.5 where the bug was introduced.

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/a7915f114aad83c93548dffe6c947e7f441fc175

Modified Files
--------------
src/backend/utils/mmgr/mcxt.c | 6 ++++++
1 file changed, 6 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Fix Windows portability issue in 23a27b039d94ba35.
Next
From: Tom Lane
Date:
Subject: pgsql: Report memory context stats upon out-of-memory in repalloc[_huge