Re: kevent latch paths don't handle postmaster death well

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
Cc: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: kevent latch paths don't handle postmaster death well
Date: 2020-10-14 22:57:22
Message-ID: 3637798.1602716242@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Thomas Munro <thomas(dot)munro(at)gmail(dot)com> writes:
> (Hmm, I wonder about that Windows process exit event.)

If anyone wants to test that, I can save you a little time building
infrastructure, perhaps. I used the attached program built into a .so.
After creating the function, invoke it, and once it's blocked kill -9
the postmaster. If it successfully reports multiple WL_POSTMASTER_DEATH
results then it's good.

regards, tom lane

Attachment Content-Type Size
checkpmdeath.c text/x-c 782 bytes

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2020-10-14 22:59:42 Re: kevent latch paths don't handle postmaster death well
Previous Message Thomas Munro 2020-10-14 22:50:18 Re: kevent latch paths don't handle postmaster death well