]> 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:52 +0000 (19:32 -0700)
commit327399412d035a3951f48d74356ff1449b9b7e91
tree2053999252d8040cae93c6ceacc527206e16fdde
parentf0fd9caef4a5801ff85e6339a00647b986f571fa
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