Include the process PID in assertion-failure messages.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 5 Oct 2020 17:40:28 +0000 (13:40 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 5 Oct 2020 17:40:28 +0000 (13:40 -0400)
commit18c170a08ee23d03a06d235ea628fecb057d974f
tree304af6ef08751684950a1769fad33c1e63f77d19
parent53c6daff4364219256119fcd79b2d71b57c13e37
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: https://postgr.es/m/1568983.1601845687@sss.pgh.pa.us
src/backend/utils/error/assert.c