]> granicus.if.org Git - postgresql/commit
Detach shared memory from bgworkers without shmem access.
authorRobert Haas <rhaas@postgresql.org>
Wed, 7 May 2014 18:54:43 +0000 (14:54 -0400)
committerRobert Haas <rhaas@postgresql.org>
Wed, 7 May 2014 18:56:49 +0000 (14:56 -0400)
commit4d155d8b08fe08c1a1649fdbad61c6dcf4a8671f
treea71336ebdeb02017f00918030c7275d63a54ac48
parent04e5025be8bbe572e12b19c4ba9e2a8360b8ffe5
Detach shared memory from bgworkers without shmem access.

Since the postmaster won't perform a crash-and-restart sequence
for background workers which don't request shared memory access,
we'd better make sure that they can't corrupt shared memory.

Patch by me, review by Tom Lane.
src/backend/postmaster/bgworker.c