Cause stats processes to detach from shared memory when started, so that
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| 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 |