Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sUnb4-005khj-NS for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Jul 2024 13:24:30 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sUnb2-00GdCJ-Dp for pgsql-hackers@arkaria.postgresql.org; Fri, 19 Jul 2024 13:24:28 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sUnb2-00GdCB-4H for pgsql-hackers@lists.postgresql.org; Fri, 19 Jul 2024 13:24:28 +0000 Received: from feynman.df7cb.de ([195.49.152.168]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sUnb0-000Nzn-5d for pgsql-hackers@lists.postgresql.org; Fri, 19 Jul 2024 13:24:27 +0000 Received: from msg.df7cb.de (unknown [IPv6:2a02:908:1480:91e0:e5dd:5ff4:a196:e226]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 4WQVkw73fxz3F4W; Fri, 19 Jul 2024 15:24:24 +0200 (CEST) Date: Fri, 19 Jul 2024 15:24:24 +0200 From: Christoph Berg To: Laurenz Albe Cc: Michael Banck , Tom Lane , Nathan Bossart , pgsql-hackers@lists.postgresql.org Subject: Re: Set log_lock_waits=on by default Message-ID: References: <659ffa38.170a0220.eea6a.28fc@mx.google.com> <65b146b9.170a0220.c645b.0891@mx.google.com> <20240206165343.GA3841415@nathanxps13> <524751.1707240550@sss.pgh.pa.us> <6698edb4.5d0a0220.df6fa.5b59@mx.google.com> <5dc4e037f60467da7bf7d17b10f6ec632a7c9095.camel@cybertec.at> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5dc4e037f60467da7bf7d17b10f6ec632a7c9095.camel@cybertec.at> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Re: Laurenz Albe > The major criticism is Tom's that it might unduly increase the log volume. > > I'm not trying to rush things, but I see little point in kicking a trivial > patch like this through many commitfests. If no committer wants to step > up and commit this, it should be rejected. That would be a pity, I still think log_lock_waits=on by default would be a good thing. I have not seen any server yet where normal, legitimate operation would routinely trigger the message. (If it did, people should likely have used SKIP LOCKED or NOWAIT instead.) It would only increase the log volume on systems that have a problem. Christoph