]> 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)
commitf3461cb8f5b505878f33d6ded15eab6f0e1993dd
treea493fdef717276dd0f495b37054fa27e4b978dd0
parent31737eb43ffd77de9269247dfbd11a2665e6ee57
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