pgsql: Include the process PID in assertion-failure messages.

Started by Tom Lanealmost 6 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Include the process PID in assertion-failure messages.

This should help to identify what happened when studying the postmaster
log after-the-fact.

While here, clean up some old comments in the same function.

Discussion: /messages/by-id/1568983.1601845687@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/18c170a08ee23d03a06d235ea628fecb057d974f

Modified Files
--------------
src/backend/utils/error/assert.c | 28 +++++++++++++++-------------
1 file changed, 15 insertions(+), 13 deletions(-)