]> granicus.if.org Git - postgresql/commit
Add more temporary code to record stack usage at server process exit.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Jul 2016 20:38:22 +0000 (16:38 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Jul 2016 20:38:22 +0000 (16:38 -0400)
commitea9c4a16d5ad88a1d28d43ef458e3209b53eb106
treeb4fb2d00741e2aef2a1e668b1a9527b20ab7c2c0
parent769159fd393f006f29879a71a5f2b3049251b4d9
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.
src/backend/storage/ipc/ipc.c
src/backend/tcop/postgres.c