Back-patch fix to cause stats processes to detach from shared memory,
Tom Lane <tgl@sss.pgh.pa.us>
Back-patch fix to cause stats processes to detach from shared memory, so that they do not prevent the postmaster from deleting the shmem segment during crash recovery.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/port/sysv_shmem.c | modified | +28 −1 |
| src/backend/postmaster/pgstat.c | modified | +5 −1 |
| src/include/storage/pg_shmem.h | modified | +2 −1 |