PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> in the following SQL statement's result ,there is no trace_locks
> parameter.
> but in the
> documents(https://www.postgresql.org/docs/current/runtime-config-developer.html),there
> is trace_locks parameter
Note where that page says
This parameter is only available if the LOCK_DEBUG macro was defined
when PostgreSQL was compiled.
Most builds don't have that turned on.
regards, tom lane