Re: maximum number of backtrace frames logged by backtrace_functions - Mailing list pgsql-docs

From Peter Eisentraut
Subject Re: maximum number of backtrace frames logged by backtrace_functions
Date
Msg-id b56ce3bf-d308-8dcf-7eaf-e1d3acd021a1@enterprisedb.com
Whole thread Raw
In response to Re: maximum number of backtrace frames logged by backtrace_functions  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Responses Re: maximum number of backtrace frames logged by backtrace_functions  (Fujii Masao <masao.fujii@oss.nttdata.com>)
List pgsql-docs
On 07.02.22 06:29, Fujii Masao wrote:
>>
>> On 2022/02/03 23:48, Tom Lane wrote:
>>> Peter Eisentraut <peter.eisentraut@enterprisedb.com> writes:
>>>> How about we issue a message when the backtrace is cut off.  Then it's
>>>> immediately visible to the user, instead of hidden away somewhere in 
>>>> the
>>>> documentation.  Something like this (untested):
>>>
>>> +1 for idea (I didn't test it either).
>>
>> +1. I made this change to the patch and confirmed that it worked fine.
> 
> Barring any objection, I will commit the patch.

This change looks good to me.  There is also backtrace code in assert.c 
that might want the same treatment.



pgsql-docs by date:

Previous
From: Fujii Masao
Date:
Subject: Re: maximum number of backtrace frames logged by backtrace_functions
Next
From: Fujii Masao
Date:
Subject: Re: maximum number of backtrace frames logged by backtrace_functions