pgsql: Add memory info to getrusage output

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add memory info to getrusage output
Date: 2017-09-01 19:42:10
Message-ID: E1dnrpS-0008DG-7y@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add memory info to getrusage output

Add the maxrss field to the getrusage output (log_*_stats). This was
previously omitted because of portability concerns, but we feel this
might not be a concern anymore.

based on patch by Justin Pryzby <pryzby(at)telsasoft(dot)com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/c039ba0716383ccaf88c9be1a7f0803a77823de1

Modified Files
--------------
src/backend/tcop/postgres.c | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-09-01 21:39:12 pgsql: Improve division of labor between execParallel.c and nodeGather[
Previous Message Robert Haas 2017-09-01 19:19:20 pgsql: Tighten up some code in RelationBuildPartitionDesc.