Prevent continuing disk-space bloat when profiling (with PROFILE_PID_DIR
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Nov 2007 17:55:15 +0000 (17:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 4 Nov 2007 17:55:15 +0000 (17:55 +0000)
commitb1fa3af4bf2336e5a5473e45000caacecd2e57d7
tree6ff10d86f0cc5d88a9108e6da3b6f1eaf1f203e2
parent024748be55929cafbc5f12c63e7491d68a9c9455
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\9arg Beyer and subsequent discussion.
src/backend/storage/ipc/ipc.c