Re: Can a child process detect postmaster death when in pg_usleep? - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Can a child process detect postmaster death when in pg_usleep?
Date
Msg-id YN5reTSMBP0Vg10k@paquier.xyz
Whole thread Raw
In response to Re: Can a child process detect postmaster death when in pg_usleep?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Can a child process detect postmaster death when in pg_usleep?  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
List pgsql-hackers
On Mon, Jun 28, 2021 at 11:01:57AM -0400, Tom Lane wrote:
> Dunno ... I cannot recall ever having had that as a debugging requirement
> in a couple of decades worth of PG bug-chasing.  If the postmaster is
> dying, you generally want to deal with that before bothering with child
> processes.  Moreover, child processes that don't go awy when the
> postmaster does are a very nasty problem, because they could screw up
> subsequent debugging work.

At the same time, nobody has really complained about this being an
issue for developer options.  I would tend to wait for more opinions
before doing anything with the auth_delay GUCs.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Jeremy Schneider
Date:
Subject: relation OID in ReorderBufferToastReplace error message
Next
From: Bruce Momjian
Date:
Subject: Re: Commit fest manager