]> 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)
commite49dc9ab14b287f5721b503c96c487bd9fb05a51
treecbb8c2af9c46c5a3aa2650fa0d40af73442f7d78
parentd02abc2e966ba47c62c8909f8e96018b4a7ccb5a
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