Back-patch fix to cause stats processes to detach from shared memory,

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

Commit: a0547f6ea2cd86264ae7931c9128ba241b8c9327
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-11-30T21:56:36Z
Releases: 7.3.5
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

PathChange+/−
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