]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Only show signal-sender PID/UID detail in server log
authorAndrew Dunstan <andrew@dunslane.net>
Fri, 1 May 2026 15:52:14 +0000 (11:52 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Fri, 1 May 2026 17:20:08 +0000 (13:20 -0400)
commitb772f3fcad1870731020dbe56713c616abc5dc26
tree30d4cde9b4208b523c089e225ec8acb127101376
parentf67dbd8398c060362802cb559261893881c21cbe
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
src/backend/replication/syncrep.c
src/backend/tcop/postgres.c
src/bin/psql/t/001_basic.pl