]> granicus.if.org Git - postgresql/commit
Update HINT for pre-existing shared memory block.
authorNoah Misch <noah@leadboat.com>
Mon, 1 Apr 2019 02:32:48 +0000 (19:32 -0700)
committerNoah Misch <noah@leadboat.com>
Mon, 1 Apr 2019 02:32:48 +0000 (19:32 -0700)
commit5a907404b52753c4d6c6a7c21765aeaa42fd6a3b
treedc9902315422bb2680a054178781327779af154b
parentbfbcad478f05794e5e7ea1339e62a1d258c99b6c
Update HINT for pre-existing shared memory block.

One should almost always terminate an old process, not use a manual
removal tool like ipcrm.  Removal of the ipcclean script eleven years
ago (39627b1ae680cba44f6e56ca5facec4fdbfe9495) and its non-replacement
corroborate that manual shm removal is now a niche goal.  Back-patch to
9.4 (all supported versions).

Reviewed by Daniel Gustafsson and Kyotaro HORIGUCHI.

Discussion: https://postgr.es/m/20180812064815.GB2301738@rfd.leadboat.com
src/backend/utils/init/miscinit.c