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

From Daniel Gustafsson
Subject Re: Log the location field before any backtrace
Date
Msg-id C8394FF2-0E6D-49D0-8DEE-6155AA8D7065@yesql.se
Whole thread Raw
In response to Log the location field before any backtrace  (Peter Eisentraut <peter.eisentraut@2ndquadrant.com>)
Responses Re: Log the location field before any backtrace
List pgsql-hackers
> 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

cheers ./daniel


pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions
Next
From: Daniel Gustafsson
Date:
Subject: Re: Allow an alias to be attached directly to a JOIN ... USING