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.