]> 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:53 +0000 (19:32 -0700)
commit52e7e4d1dfe6e8f3b0923458cda732e8cb230719
tree3f7999d191d80f08737a49165abbbbe6385dc474
parent7582251c1056ec657b9d32f547b8f661c6375e78
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