Re: maximum number of backtrace frames logged by backtrace_functions

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: maximum number of backtrace frames logged by backtrace_functions
Дата
Msg-id 9b3e1b97-4d2f-25af-fa52-1b2c31511444@enterprisedb.com
обсуждение исходный текст
Ответ на Re: maximum number of backtrace frames logged by backtrace_functions  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Ответы Re: maximum number of backtrace frames logged by backtrace_functions  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Список pgsql-docs
On 07.02.22 17:42, Fujii Masao wrote:
> 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.

I don't know if using write_stderr() is the right thing here.  Since 
backtrace_symbols_fd() writes directly to stderr in any case, the whole 
Windows-specific eventlog dance in write_stderr() wouldn't make sense 
even if this feature supported Windows.  So I'd just do a straight 
fprintf(stderr) there.



В списке pgsql-docs по дате отправления:

Предыдущее
От: PG Doc comments form
Дата:
Сообщение: Copy Documentation
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: maximum number of backtrace frames logged by backtrace_functions