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

From Alvaro Herrera
Subject Re: Log the location field before any backtrace
Date
Msg-id 20200709163138.GA23549@alvherre.pgsql
Whole thread Raw
In response to Re: Log the location field before any backtrace  (Daniel Gustafsson <daniel@yesql.se>)
Responses Re: Log the location field before any backtrace
List pgsql-hackers
On 2020-Jul-09, Daniel Gustafsson wrote:

> > On 9 Jul 2020, at 11:17, Peter Eisentraut <peter.eisentraut@2ndquadrant.com> wrote:
> > 
> > In PG13, we added the ability to add backtraces to the log output. After some practical experience with it, I think
theorder in which the BACKTRACE and the LOCATION fields are printed is wrong.  I propose we put the LOCATION field
beforethe BACKTRACE field, not after.  This makes more sense because the location is effectively at the lowest level of
thebacktrace.
 
> 
> Makes sense, +1

Likewise

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Nikolay Samokhvalov
Date:
Subject: Re: Postgres is not able to handle more than 4k tables!?
Next
From: Alvaro Herrera
Date:
Subject: Re: Stale external URL in doc?