| From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Add GUC to show EXEC_BACKEND state |
| Date: | 2025-11-26 13:48:49 |
| Message-ID: | E1vOFt2-001VMM-1f@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)yesql(dot)se>
Reviewed-by: Chao Li <li(dot)evan(dot)chao(at)gmail(dot)com>
Reviewed-by: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Reviewed-by: Peter Eisentraut <peter(at)eisentraut(dot)org>
Discussion: https://postgr.es/m/5F301096-921A-427D-8EC1-EBAEC2A35082@yesql.se
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/b3fe098d330ff6a7c23019d66a600072b1d4664d
Modified Files
--------------
doc/src/sgml/config.sgml | 17 +++++++++++++++++
src/backend/utils/misc/guc_parameters.dat | 7 +++++++
src/backend/utils/misc/guc_tables.c | 7 +++++++
3 files changed, 31 insertions(+)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Daniel Gustafsson | 2025-11-26 13:50:35 | pgsql: doc: Clarify passphrase command reloading on Windows |
| Previous Message | Daniel Gustafsson | 2025-11-26 13:48:48 | pgsql: doc: Clarify passphrase command reloading on Windows |