diff options
| author | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-11-26 14:24:27 +0100 |
|---|---|---|
| committer | Daniel Gustafsson <dgustafsson@postgresql.org> | 2025-11-26 14:24:27 +0100 |
| commit | b3fe098d330ff6a7c23019d66a600072b1d4664d (patch) | |
| tree | 9e2d9a72594fc32db6626a87525fca8248eb965d /doc/src | |
| parent | 0f4f45772c5a87ca2f228ee3bea36d313dca0b51 (diff) | |
Add GUC to show EXEC_BACKEND state
There is no straightforward way to determine if a cluster is running
in EXEC_BACKEND mode or not, which is useful for tests to know. This
adds a GUC debug_exec_backend similar to debug_assertions which will
be true when the server is running in EXEC_BACKEND mode.
Author: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Peter Eisentraut <peter@eisentraut.org>
Discussion: https://postgr.es/m/5F301096-921A-427D-8EC1-EBAEC2A35082@yesql.se
Diffstat (limited to 'doc/src')
| -rw-r--r-- | doc/src/sgml/config.sgml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml index 07ff5873a97..737b90736bf 100644 --- a/doc/src/sgml/config.sgml +++ b/doc/src/sgml/config.sgml @@ -11833,6 +11833,23 @@ dynamic_library_path = '/usr/local/lib/postgresql:$libdir' </listitem> </varlistentry> + <varlistentry id="guc-debug-exec-backend" xreflabel="debug_exec_backend"> + <term><varname>debug_exec_backend</varname> (<type>boolean</type>) + <indexterm> + <primary><varname>debug_exec_backend</varname> configuration parameter</primary> + </indexterm> + </term> + <listitem> + <para> + Reports whether <productname>PostgreSQL</productname> has been built + with <literal>EXEC_BACKEND</literal> enabled. That is the case on + <systemitem class="osname">Windows</systemitem> or if the + macro <symbol>EXEC_BACKEND</symbol> is defined + when <productname>PostgreSQL</productname> is built. + </para> + </listitem> + </varlistentry> + <varlistentry id="guc-huge-pages-status" xreflabel="huge_pages_status"> <term><varname>huge_pages_status</varname> (<type>enum</type>) <indexterm> |
