Prevent continuing disk-space bloat when profiling (with PROFILE_PID_DIR

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

Commit: 69500b05d6adb77d73fd5867f74167f17a608e3e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-11-04T17:55:15Z
Releases: 8.3.0
Prevent continuing disk-space bloat when profiling (with PROFILE_PID_DIR
enabled) and autovacuum is on.  Since there will be a steady stream of autovac
worker processes exiting and dropping gmon.out files, allowing them to make
separate subdirectories results in serious bloat; and it seems unlikely that
anyone will care about those profiles anyway.  Limit the damage by forcing all
autovac workers to dump in one subdirectory, PGDATA/gprof/avworker/.

Per report from Jšrg Beyer and subsequent discussion.

Files

PathChange+/−
src/backend/storage/ipc/ipc.c modified +13 −2