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-0002xu-Sz@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
------
REL9_6_STABLE

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

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