pgsql: Reset shmem_exit_inprogress after shmem_exit()

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Reset shmem_exit_inprogress after shmem_exit()
Date: 2018-07-12 18:28:04
Message-ID: E1fdgJw-0001IU-8t@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/39035a52894a419ae1b905adfdb0bad72ee19a36

Modified Files
--------------
src/backend/storage/ipc/ipc.c | 2 ++
1 file changed, 2 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2018-07-12 21:44:09 pgsql: Clean up temporary WAL segments after an instance crash
Previous Message Tom Lane 2018-07-12 16:29:22 pgsql: Doc: minor improvement in pl/pgsql FETCH/MOVE documentation.