Report memory context stats upon out-of-memory in repalloc[_huge].

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 4b980167cb5a489346c5e53afb86280a7d59ebc7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-03-13T05:21:07Z
Releases: 9.6.0
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.

Files

PathChange+/−
src/backend/utils/mmgr/mcxt.c modified +6 −0