Cause stats processes to detach from shared memory when started, so that

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

Commit: f8a769b47adcdbdc0b9091cd084c9f5a3700d744
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-11-07T21:55:50Z
Releases: 8.0.0
Cause stats processes to detach from shared memory when started, so that
they do not prevent the postmaster from deleting the shmem segment during
a post-backend-crash restart cycle.  Per recent discussion.

Files

PathChange+/−
src/backend/port/sysv_shmem.c modified +28 −9
src/backend/postmaster/pgstat.c modified +5 −1
src/include/storage/pg_shmem.h modified +2 −1