pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter_e@gmx.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Reset shmem_exit_inprogress after shmem_exit()
Date: Thu, 12 Jul 2018 18:28:04 +0000
Message-ID: <E1fdgJw-0001IU-8t@gemulon.postgresql.org> (raw)

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@tao11.riddles.org.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(+)



view thread (2+ messages)

Message-ID: <E1fdgJw-0001IU-8t@gemulon.postgresql.org>
Permalink:  ../E1fdgJw-0001IU-8t@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fdgJw-0001IU-8t@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter_e@gmx.net
  Subject: Re: pgsql: Reset shmem_exit_inprogress after shmem_exit()
  In-Reply-To: <E1fdgJw-0001IU-8t@gemulon.postgresql.org>
  References: <E1fdgJw-0001IU-8t@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox