backtrace_functions emits trace for any elog - Mailing list pgsql-hackers

From Ilya Gladyshev
Subject backtrace_functions emits trace for any elog
Date
Msg-id 16FA9698-7A7A-4312-BD34-4E2671007B76@gmail.com
Whole thread Raw
Responses Re: backtrace_functions emits trace for any elog
List pgsql-hackers
Hi,
I used backtrace_functions to debug one of my ideas and found its behavior counter-intuitive and contradictory to it
owndocs. I think the GUC is supposed to be used to dump backtrace only on elog(ERROR) (should it also be done for
higherlevels? not sure about this), but, in fact, it does that for any log-level. I have attached a patch that checks
log-levelbefore attaching backtrace. 

Regards,
Ilya

Attachment

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Create shorthand for including all extra tests
Next
From: Tom Lane
Date:
Subject: Re: information_schema and not-null constraints