| From: | Jim Jones <jim(dot)jones(at)uni-muenster(dot)de> |
|---|---|
| To: | Jakub Wartak <jakub(dot)wartak(at)enterprisedb(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Add errdetail() with PID and UID about source of termination signal |
| Date: | 2026-02-18 16:08:25 |
| Message-ID: | 94268299-f61e-4588-89b7-15a74a705cca@uni-muenster.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Hi Jakub
On 18/02/2026 08:32, Jakub Wartak wrote:
> I would first like to learn if that would be a welcomed feature or not.
+1
I think it's a very useful feature (only tested on Linux)
FATAL: terminating connection due to administrator command
DETAIL: signal sent by PID 1592705, UID 1000.
I'm wondering if there is a standard style for displaying such values in
DETAIL. For instance, the checkpoint LOG is formatted like this:
LOG: checkpoint complete: ... write=0.044 s, sync=0.071 s, ...
I'm not sure if it applies for DETAIL, but at least it's what the
example at the error style guide[1] suggests:
Detail: Failed syscall was shmget(key=%d, size=%u, 0%o).
Thanks!
Best, Jim
1 - https://www.postgresql.org/docs/current/error-style-guide.html
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Daniel Gustafsson | 2026-02-18 16:21:10 | Re: Killing off anoncvs.postgresql.org |
| Previous Message | Ashutosh Bapat | 2026-02-18 15:50:59 | Re: Better shared data structure management and resizable shared data structures |