Reports whether PostgreSQL has been built with EXEC_BACKEND enabled.
At a glance
| Property | Value |
|---|---|
| Parameter | debug_exec_backend |
| Category | Preset Options |
| Default | (see documentation) |
| Value type | boolean (on/off) |
| Change scope | Per-session (SET) |
| Available in | PostgreSQL 19 (added in 19) |
What it does
Reports whether PostgreSQL has been built with EXEC_BACKEND enabled. That is the case on Windows or if the macro EXEC_BACKEND is defined when PostgreSQL is built.
(Description quoted from the official PostgreSQL documentation.)
How to apply a change
Can be set per session with SET, per role/database with ALTER ROLE/DATABASE ... SET, or globally in postgresql.conf.
Inspect the current value and source with SHOW debug_exec_backend; or SELECT name, setting, unit, context, source FROM pg_settings WHERE name = 'debug_exec_backend';.
Tuning guidance
This is a preset, read-only parameter: it reports a value fixed when PostgreSQL was built or the cluster was initialized, and cannot be tuned at runtime. Read it to verify the server’s build or cluster configuration (for example when matching a replica or debugging a compatibility issue); there is no setting to adjust.