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 1rGKrc-00EmLQ-0l for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Dec 2023 15:21:32 +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 1rGKra-00AUBn-LL for pgsql-hackers@arkaria.postgresql.org; Thu, 21 Dec 2023 15:21:30 +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 1rGKra-00AUBb-Ap for pgsql-hackers@lists.postgresql.org; Thu, 21 Dec 2023 15:21:30 +0000 Received: from mail1.dalibo.net ([51.159.93.128] helo=mail.dalibo.com) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rGKrY-00DC49-8a for pgsql-hackers@lists.postgresql.org; Thu, 21 Dec 2023 15:21:29 +0000 Received: from [192.168.1.20] (lfbn-ren-1-1137-121.w92-139.abo.wanadoo.fr [92.139.85.121]) by mail.dalibo.com (Postfix) with ESMTPSA id DBADA1F7D3; Thu, 21 Dec 2023 16:21:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dalibo.com; s=a; t=1703172086; bh=1h9mngWVcOPqVixnOJhH6YRtTrViQExGhxerLukxk0c=; h=Date:Subject:To:References:From:In-Reply-To:From; b=OXwYwZV81wDGozmTShteCOvzsYdtALnFwy+SqVQW6L78K7hBYpXHH5PlB8OB7cbJF 6rsDdUTggv+/oTLj+FdThkPPtahcFi+ahYViEGz4INb3i4SkHUT4OXnfcE1q/bDd17 R16Zua93SAXrazLu+6V5Q+jZZcd6VPrigoj2+wNQ= Message-ID: <4bc263f0-0542-445d-bb3a-7c1f1b6ac228@dalibo.com> Date: Thu, 21 Dec 2023 16:21:26 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Set log_lock_waits=on by default Content-Language: fr To: Laurenz Albe , pgsql-hackers@lists.postgresql.org References: From: =?UTF-8?Q?Fr=C3=A9d=C3=A9ric_Yhuel?= Autocrypt: addr=frederic.yhuel@dalibo.com; keydata= xjMEXn3bgxYJKwYBBAHaRw8BAQdA6tX5FT/n5ztMWIoBdl6k5avvu65fv6ryfVzIx/aH3V3N JEYuIFlodWVsIDxmcmVkZXJpYy55aHVlbEBkYWxpYm8uY29tPsKWBBMWCAA+FiEEi7OTyf6H ePS+C6n11XGWhN8zGNUFAl6G6CYCGwMFCQeE3WIFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AA CgkQ1XGWhN8zGNWH2wEA/YqoX3f4vTCknwEQgJtqWmcahkMKeusqdddqAB/jclQBAIKj3+N8 fj3S9ZASdfUUz+PoPBvuDSSTdOqwfjX9hZkNzjgEXn3bgxIKKwYBBAGXVQEFAQEHQCuh5cLQ AtEBXHa2Fmtp0kduBu7msM7qO/gaEcdjFUdiAwEIB8J+BBgWCAAmAhsMFiEEi7OTyf6HePS+ C6n11XGWhN8zGNUFAl596uUFCQeE3WIACgkQ1XGWhN8zGNVjGgEA8sKopTosiMWP+pbyf4jF 5WphrhyQf+EBlKIAs0eOpOABAMFDjT7cnlc72KVZd79jT3zmEoVq+IUW5QhcW03LnhoN In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Le 21/12/2023 à 14:29, Laurenz Albe a écrit : > Here is a patch to implement this. > Being stuck behind a lock for more than a second is almost > always a problem, so it is reasonable to turn this on by default. I think it's a really good idea. At Dalibo, we advise our customers to switch it on. AFAICT, it's never been a problem. Best regards, Frédéric