Re: Add errdetail() with PID and UID about source of termination signal

Daniel Gustafsson <daniel@yesql.se>

From: Daniel Gustafsson <daniel@yesql.se>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: Jakub Wartak <jakub.wartak@enterprisedb.com>, Chao Li <li.evan.chao@gmail.com>, Jim Jones <jim.jones@uni-muenster.de>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2026-04-06T19:36:15Z
Lists: pgsql-hackers
> On 6 Apr 2026, at 18:51, Andrew Dunstan <andrew@dunslane.net> wrote:

> I'd kinda like to sneak this in for pg19, because I think it's useful. Here's a v6 that changes one or two things:

+1.  I haven't done an in-depth review but I quite like the feature and have
wanted this very thing in the past.

--
Daniel Gustafsson




Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Only show signal-sender PID/UID detail in server log

  2. Make psql DETAIL line test unconditionally optional.

  3. Rework signal handler infrastructure to pass sender info as argument.

  4. Add errdetail() with PID and UID about source of termination signal.