pgsql: Only show signal-sender PID/UID detail in server log - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Only show signal-sender PID/UID detail in server log
Date
Msg-id E1wIrah-003caz-26@gemulon.postgresql.org
Whole thread
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/b772f3fcad1870731020dbe56713c616abc5dc26

Modified Files
--------------
src/backend/replication/syncrep.c | 7 ++++---
src/backend/tcop/postgres.c       | 7 ++++---
src/bin/psql/t/001_basic.pl       | 2 +-
3 files changed, 9 insertions(+), 7 deletions(-)


pgsql-committers by date:

Previous
From: Amit Kapila
Date:
Subject: pgsql: Fix BF failure introduced in commit 2bf6c9ff71.
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Add missing connection validation in ECPG