public inbox for [email protected]
help / color / mirror / Atom feedFrom: Fujii Masao <[email protected]>
To: [email protected]
Subject: maximum number of backtrace frames logged by backtrace_functions
Date: Wed, 2 Feb 2022 02:04:21 +0900
Message-ID: <[email protected]> (raw)
Hi,
The maximum number of backtrace frames logged by backtrace_functions is 100. Isn't it better to document this information so that users can understand not all backtrace always can be logged? Patch attached.
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 692d8a2a17..a9131b3e46 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -10685,6 +10685,12 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
be used to debug specific areas of the source code.
</para>
+ <para>
+ Note that the maximum number of backtrace frames logged is 100.
+ If the backtrace is larger than 100, the backtrace frames corresponding
+ to the 100 most recent function calls are logged.
+ </para>
+
<para>
Backtrace support is not available on all platforms, and the quality
of the backtraces depends on compilation options.
Attachments:
[text/plain] backtrace_functions_doc_v1.patch (736B, 2-backtrace_functions_doc_v1.patch)
download | inline diff:
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 692d8a2a17..a9131b3e46 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -10685,6 +10685,12 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
be used to debug specific areas of the source code.
</para>
+ <para>
+ Note that the maximum number of backtrace frames logged is 100.
+ If the backtrace is larger than 100, the backtrace frames corresponding
+ to the 100 most recent function calls are logged.
+ </para>
+
<para>
Backtrace support is not available on all platforms, and the quality
of the backtraces depends on compilation options.
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected]
Subject: Re: maximum number of backtrace frames logged by backtrace_functions
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox