↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Configuration Parameters

trace_userlocks

If on, emit information about user lock usage. Output is the same as for trace_locks, only for advisory locks. 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
trace_userlocks
short desc
Unknown
source
english-manual
unit
Unknown
vartype
bool

Definition PG 18

If on, emit information about user lock usage. Output is the same as for trace_locks, only for advisory locks.

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 on, emit information about user lock usage.  Output is the same
        as for <code class="symbol">trace_locks</code>, only for advisory locks.
       </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:64b10f4f9c2f2739d9ee62985091edb484cd35512f1047f5bccae118b558a76a

Text language: en · wiki-repair-20261023:64b10f4f9c2f2739d9ee62985091edb484cd35512f1047f5bccae118b558a76a