From: | Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com> |
---|---|
To: | pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Log the location field before any backtrace |
Date: | 2020-07-09 09:17:32 |
Message-ID: | 90f5fa04-c410-a54e-9449-aa3749fb7972@2ndquadrant.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 | Content-Type | Size |
---|---|---|
0001-Log-the-location-field-before-any-backtrace.patch | text/plain | 1.4 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Bharath Rupireddy | 2020-07-09 09:42:57 | Re: Parallel worker hangs while handling errors. |
Previous Message | Dilip Kumar | 2020-07-09 09:11:35 | Re: PATCH: logical_work_mem and logical streaming of large in-progress transactions |