Reset shmem_exit_inprogress after shmem_exit()
In ad9a274778d2d88c46b90309212b92ee7fdf9afe, shmem_exit_inprogress was
introduced. But we need to reset it after shmem_exit(), because unlike
the similar proc_exit(), shmem_exit() can also be called for cleanup
when the process will not exit.
Reported-by: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/5e6e2c8773dd8e3037d9195452dc5e423367e1b0
Modified Files
--------------
src/backend/storage/ipc/ipc.c | 2 ++
1 file changed, 2 insertions(+)