Re: maximum number of backtrace frames logged by backtrace_functions

2022-02-07 Thread Fujii Masao
On 2022/02/08 1:12, Peter Eisentraut wrote: This change looks good to me.  There is also backtrace code in assert.c that might want the same treatment. Yeah, that's good idea! The attached patch also adds the same treatment into assert.c. Regards, -- Fujii Masao Advanced Computing Technol

Re: maximum number of backtrace frames logged by backtrace_functions

2022-02-07 Thread Peter Eisentraut
On 07.02.22 06:29, Fujii Masao wrote: On 2022/02/03 23:48, Tom Lane wrote: Peter Eisentraut 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):