pgsql: Add more temporary code to record stack usage at server process

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Add more temporary code to record stack usage at server process
Date: 2016-07-08 20:38:29
Message-ID: E1bLcXd-0005bt-RR@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Add more temporary code to record stack usage at server process exit.

After a look at preliminary results from commit 88cf37d2a86d5b66,
I realized it'd be a good idea to spew out the maximum depth measurement
seen by check_stack_depth. So add some quick-n-dirty code to do that.
Like the previous commit, this will be reverted once we've gathered
a set of buildfarm runs with it.

Branch
------
master

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

Modified Files
--------------
src/backend/storage/ipc/ipc.c | 12 ++++++++++++
src/backend/tcop/postgres.c | 12 ++++++++++++
2 files changed, 24 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2016-07-09 13:17:42 Re: pgsql: doc: mention dependency on collation libraries
Previous Message Andres Freund 2016-07-08 18:52:21 Re: Re: [COMMITTERS] pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold <