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-00056u-Oj@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
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4b980167cb5a489346c5e53afb86280a7d59ebc7

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: Report memory context stats upon out-of-memory in repalloc[_huge
Next
From: Magnus Hagander
Date:
Subject: pgsql: Fix order of MemSet arguments