aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-04-29 10:49:42 +0200
committerPeter Eisentraut <peter@eisentraut.org>2024-04-29 10:49:42 +0200
commit592a2283721f7143999364ef487f2b4993f5161d (patch)
treef3f2fc827ee8e775430ef695c7cc635be632b3a8 /doc/src
parent5c9f35fc48ea99e59300a267e090e3eafd1b3b0e (diff)
downloadpostgresql-592a2283721f7143999364ef487f2b4993f5161d.tar.gz
postgresql-592a2283721f7143999364ef487f2b4993f5161d.zip
Revert "Add GUC backtrace_on_internal_error"
This reverts commit a740b213d4b4d3360ad0cac696e47e5ec0eb8864. Subsequent discussion showed that there was interest in a more general facility to configure when server log events would produce backtraces, and this existing limited way couldn't be extended in a compatible way. So the consensus was to revert this for PostgreSQL 17 and reconsider this topic for PostgreSQL 18. Discussion: https://www.postgresql.org/message-id/flat/CAGECzQTChkvn5Xj772LB3%3Dxo2x_LcaO5O0HQvXqobm1xVp6%2B4w%40mail.gmail.com#764bcdbb73e162787e1ad984935e51e3
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/config.sgml27
1 files changed, 0 insertions, 27 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index d8e1282e128..ffb6b023fd6 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -11381,33 +11381,6 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir'
</listitem>
</varlistentry>
- <varlistentry id="guc-backtrace-on-internal-error" xreflabel="backtrace_on_internal_error">
- <term><varname>backtrace_on_internal_error</varname> (<type>boolean</type>)
- <indexterm>
- <primary><varname>backtrace_on_internal_error</varname> configuration parameter</primary>
- </indexterm>
- </term>
- <listitem>
- <para>
- If this parameter is on and an error with error code XX000 (internal
- error; see also <xref linkend="errcodes-appendix"/>) is raised, then a
- backtrace is written to the server log together with the error
- message. This can be used to debug such internal errors (which should
- normally not happen in production). The default is off.
- </para>
-
- <para>
- Backtrace support is not available on all platforms, and the quality
- of the backtraces depends on compilation options.
- </para>
-
- <para>
- Only superusers and users with the appropriate <literal>SET</literal>
- privilege can change this setting.
- </para>
- </listitem>
- </varlistentry>
-
<varlistentry id="guc-debug-discard-caches" xreflabel="debug_discard_caches">
<term><varname>debug_discard_caches</varname> (<type>integer</type>)
<indexterm>