pgsql: Ignore WL_POSTMASTER_DEATH latch event in single user mode

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Ignore WL_POSTMASTER_DEATH latch event in single user mode
Date: 2017-06-06 01:07:55
Message-ID: E1dI2yR-0003Ns-Un@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Ignore WL_POSTMASTER_DEATH latch event in single user mode

Otherwise code that uses this will abort with an assertion failure,
because postmaster_alive_fds are not initialized.

Reported-by: tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/06bfb801c73c89e66f44c1cf693386793e98b637

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

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-06-06 01:46:29 pgsql: Fix ALTER SUBSCRIPTION grammar ambiguity
Previous Message Andrew Dunstan 2017-06-06 00:41:26 pgsql: Fix thinko in previous openssl change