Log the location field before any backtrace
Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2020-07-09T09:17:32Z
Lists: pgsql-hackers
Attachments
- 0001-Log-the-location-field-before-any-backtrace.patch (text/plain) patch 0001
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
Commits
-
Log the location field before any backtrace
- ff61359ad7cd 14.0 landed
- 8ff4d1277b86 13.0 landed