Log the location field before any backtrace - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Log the location field before any backtrace
Date
Msg-id 90f5fa04-c410-a54e-9449-aa3749fb7972@2ndquadrant.com
Whole thread Raw
Responses Re: Log the location field before any backtrace
List pgsql-hackers
In PG13, we added the ability to add backtraces to the log output. 
After some practical experience with it, I think the order in which the 
BACKTRACE and the LOCATION fields are printed is wrong.  I propose we 
put the LOCATION field before the BACKTRACE field, not after.  This 
makes more sense because the location is effectively at the lowest level 
of the backtrace.

Patch attached.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachment

pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions
Next
From: Bharath Rupireddy
Date:
Subject: Re: Parallel worker hangs while handling errors.