Include the process PID in assertion-failure messages.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 18c170a08ee23d03a06d235ea628fecb057d974f
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2020-10-05T17:40:28Z
Releases: 14.0
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

Files

PathChange+/−
src/backend/utils/error/assert.c modified +15 −13

Discussion