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

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

Commit: ea9c4a16d5ad88a1d28d43ef458e3209b53eb106
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-07-08T20:38:22Z
Releases: 9.6.0
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.

Files

PathChange+/−
src/backend/storage/ipc/ipc.c modified +12 −0
src/backend/tcop/postgres.c modified +12 −0