pgsql: Update HINT for pre-existing shared memory block. - Mailing list pgsql-committers

From Noah Misch
Subject pgsql: Update HINT for pre-existing shared memory block.
Date
Msg-id E1hAmm5-0002xq-Sk@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ab7590e9197cd9b1ab691ab0b08794a79f26e592

Modified Files
--------------
src/backend/utils/init/miscinit.c | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: tableam: bitmap table scan.
Next
From: Michael Paquier
Date:
Subject: pgsql: Fix thinko in allocation call during MVC list deserialization