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

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

Commit: 88cf37d2a86d5b66380003d7c3384530e3f91e40
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-07-08T16:01:08Z
Releases: 9.6.0
Add some temporary code to record stack usage at server process exit.

This patch is meant to gather information from the buildfarm members, and
will be reverted in a day or so.  The idea is to try to find out the
high-water stack consumption while running the regression tests,
particularly on IA64 which is suspected to use much more stack than other
architectures.  On machines with pmap, we can use that; but the IA64 farm
members are running HPUX, so also include some bespoke code for HPUX.
(I've tested the latter on HPUX 10/HPPA; not entirely sure it will work
on HPUX 11/IA64, but we'll soon find out.)

Discussion: <CAM-w4HMwwcwaVvYcAH0_FGtG5GeXdYVRfvG81pXnSJWHnCfosQ@mail.gmail.com>

Files

PathChange+/−
src/backend/storage/ipc/ipc.c modified +47 −0