↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Configuration Parameters

debug_deadlocks

If set, dumps information about all current locks when a deadlock timeout occurs. This parameter is only available if the LOCK_DEBUG macro was defined when PostgreSQL was compiled.

English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

boot val
Unknown
category
Developer Options
context
Unknown
doc same as
Unknown
documented
true
enumvals
Unknown
extra desc
Unknown
lang
en
max val
Unknown
metadata version
Unknown
min val
Unknown
name
debug_deadlocks
short desc
Unknown
source
english-manual
unit
Unknown
vartype
bool

Definition PG 18

If set, dumps information about all current locks when a deadlock timeout occurs.

This parameter is only available if the LOCK_DEBUG macro was defined when PostgreSQL was compiled.

Compare versions

Complete source facts

doc html

<p>
        If set, dumps information about all current locks when a
        deadlock timeout occurs.
       </p><p>
        This parameter is only available if the <code class="symbol">LOCK_DEBUG</code>
        macro was defined when <span class="productname">PostgreSQL</span> was
        compiled.
       </p>

documentation revision

{"inputs":[{"file":"runtime-config-developer.html","kind":"same-version-reviewed-manual","locale":"en","sha256":"a3f6a107ed6ba4edaf6df03e52f4a469bd09350d545e4ff419e62844025ec1cf","version":"18.7"},{"file":"runtime-config-developer.html","kind":"same-version-reviewed-manual","locale":"zh-Hans","sha256":"e7e22aa5738a1d376b84af1adca796c5e14746266733f925eb50c3ef86a50655","version":"18.7"}],"release":"18.7","runtime_remeasured":false,"source_revision":"pgdoc:b9f0e7232f60f380d642ac9b99226606c254b552"}

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:c692b402408e0cf1c5b5d939797ca2bbd636be05d5a7fc753534d110e28c5fdd

Text language: en · wiki-repair-20261023:c692b402408e0cf1c5b5d939797ca2bbd636be05d5a7fc753534d110e28c5fdd