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 <[email protected]>
Reviewed-by: Chao Li <[email protected]>
Reviewed-by: Álvaro Herrera <[email protected]>
Reviewed-by: Peter Eisentraut <[email protected]>
Discussion: https://postgr.es/m/[email protected]

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(+)

Reply via email to