pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Default to log_lock_waits=on
Date: Fri, 12 Sep 2025 06:05:45 +0000
Message-ID: <E1uwwun-000Iab-0o@gemulon.postgresql.org> (raw)

Default to log_lock_waits=on

If someone is stuck behind a lock for more than a second, that is
almost always a problem that is worth a log entry.

Author: Laurenz Albe <laurenz.albe@cybertec.at>
Reviewed-By: Michael Banck <mbanck@gmx.net>
Reviewed-By: Robert Haas <robertmhaas@gmail.com>
Reviewed-By: Christoph Berg <myon@debian.org>
Reviewed-By: Stephen Frost <sfrost@snowman.net>
Discussion: https://postgr.es/m/b8b8502915e50f44deb111bc0b43a99e2733e117.camel%40cybertec.at

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/2aac62be8cbb870ccf8c5b3fbb8a4e4aa8a14a73

Modified Files
--------------
doc/src/sgml/config.sgml                      | 2 +-
src/backend/storage/lmgr/proc.c               | 2 +-
src/backend/utils/misc/guc_parameters.dat     | 2 +-
src/backend/utils/misc/postgresql.conf.sample | 2 +-
4 files changed, 4 insertions(+), 4 deletions(-)



Message-ID: <E1uwwun-000Iab-0o@gemulon.postgresql.org>
Permalink:  ../E1uwwun-000Iab-0o@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1uwwun-000Iab-0o@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Default to log_lock_waits=on
  In-Reply-To: <E1uwwun-000Iab-0o@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox