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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Include the process PID in assertion-failure messages.
Date: 2020-10-05 17:40:35
Message-ID: E1kPUTT-0002Rs-Qu@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2020-10-05 19:48:53 pgsql: Overhaul pg_hba.conf clientcert's API
Previous Message Tom Lane 2020-10-05 17:16:04 pgsql: Fix two latent(?) bugs in equivclass.c.