Only show signal-sender PID/UID detail in server log
Andrew Dunstan <andrew@dunslane.net>
Only show signal-sender PID/UID detail in server log The errdetail() added in 55890a91945 (and reworked in 3e2a1496bae) exposed the operating-system PID and UID of whoever sent the termination signal directly to the affected client. Discussion suggested this should not be sent to the client, but only recorded in the server log where the admin can use it for diagnosis. Author: Chao Li <li.evan.chao@gmail.com> Reviewed-by: Jakub Wartak <jakub.wartak@enterprisedb.com> Discussion: https://postgr.es/m/E5CA274C-74BD-4067-8B73-A3AD8C080EFA@gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/replication/syncrep.c | modified | +4 −3 |
| src/backend/tcop/postgres.c | modified | +4 −3 |
| src/bin/psql/t/001_basic.pl | modified | +1 −1 |
Discussion
- Add errdetail() with PID and UID about source of termination signal 54 messages · 2026-02-18 → 2026-05-01