Re: [HACKERS] PATCH: Keep one postmaster monitoring pipe per process

Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>

From: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
To: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: thomas.munro@enterprisedb.com, hlinnaka@iki.fi, andres@anarazel.de, pgsql-hackers@postgresql.org
Date: 2018-09-06T11:17:02Z
Lists: pgsql-hackers
Ugrrr! PLEASE ignore this! It's not wrong at all.

2018年9月6日(木) 18:58 Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>:

> - The following assertion looks contradicting to the comment.
> |    /* Postmaster-managed callers must handle postmaster death somehow. */
> |    Assert(!IsUnderPostmaster ||
> |           (wakeEvents & (WL_EXIT_ON_PM_DEATH)) != 0 ||
> |           (wakeEvents & (WL_POSTMASTER_DEATH)) != 0);
>

-- 
Kyotaro Horiguchi
NTT Open Source Software Center

Commits

  1. Add WL_EXIT_ON_PM_DEATH pseudo-event.

  2. Use signals for postmaster death on Linux.