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 1umZ7F-0009VA-Qe for pgsql-general@arkaria.postgresql.org; Thu, 14 Aug 2025 14:39:41 +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 1umZ7D-006uqO-OG for pgsql-general@arkaria.postgresql.org; Thu, 14 Aug 2025 14:39:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1umZ7D-006uqG-C1 for pgsql-general@lists.postgresql.org; Thu, 14 Aug 2025 14:39:39 +0000 Received: from fhigh-b5-smtp.messagingengine.com ([202.12.124.156]) by makus.postgresql.org with smtp (Exim 4.96) (envelope-from ) id 1umZ7B-000YcX-1B for pgsql-general@lists.postgresql.org; Thu, 14 Aug 2025 14:39:38 +0000 Received: from phl-compute-06.internal (phl-compute-06.internal [10.202.2.46]) by mailfhigh.stl.internal (Postfix) with ESMTP id 4287D7A0165; Thu, 14 Aug 2025 10:39:37 -0400 (EDT) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-06.internal (MEProxy); Thu, 14 Aug 2025 10:39:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm2; t=1755182377; x=1755268777; bh=gDteQQNiIWW7QgzHaloUZnux9RbfjNoApvDtKYOiqzo=; b= plN0ZiFd73VVgywJV8Jmxie7QLwEovRJooC/vixqHhM0Kz0+zn89RwwqmNvuUe/A f+5NL5z4neXsabhi+I3hPDwfIk5DRHvOS+lPaFp3+gkZe9ZjCSrSbzPX4cQnnstO dS3T7iQhyobeY7id+hetyLOdCXoxxAeA597gufO3sxywlsAJxTjQrxRZ5no6LpSK t9eVS/B2yRWMuSd7EDr3l0SiLKvMNB4OtEzGbmirOgPpnuUeCdN9MZGdy4A+ZyHn CXCcTeA7ox3uUh8tmrg3Y9AQO4o4NupyAzIMCQB+lC/As2u5JfXWy9Cs4LNsALSu c00QOkH+QNXNGnqZnv73Ag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; t=1755182377; x=1755268777; bh=g DteQQNiIWW7QgzHaloUZnux9RbfjNoApvDtKYOiqzo=; b=GmO9p5CrrBiRUooPh omUWK/PdjZbotlOo16ohSZBCTVVU21mkIPrsezxyWnsw+/QrJajzNjndkPwM0DFf KQSHXGxivJSqa8k0zbm9yUgbCHpOeKzSTwB2SqJoLuSd5RAGID1croLYL38QoBZT fn53LJ3YcLIXHoH6IJjMwK3dnabiMUIhXTWYJHYGP3ujuahTHRezbeg03cBsmd09 yUmVfu2gI4Ue2Kw1anvN3pk87aq+TnPuongaObOPmtgoEkZ03EpNIixqpdLhD8Z1 aFKHKOOlwsKYGKvoNE+DtapVvtZmMdT0HE5HZLLJUSaHdfqYCz1dyZqWF4lRKY4e F9FSQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgddugedufeegucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheptegurhhirghn ucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmqe enucggtffrrghtthgvrhhnpeeivdfhieehheegueeileejieettdejhedugeefleekvdel keehtdfgiefffeekudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhmpdhnsggp rhgtphhtthhopedvpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrrdhmrghnth iiihhoshestghlohhuugdrghgrthgvfigrhihnvghtrdgtohhmpdhrtghpthhtohepphhg shhqlhdqghgvnhgvrhgrlheslhhishhtshdrphhoshhtghhrvghsqhhlrdhorhhg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 14 Aug 2025 10:39:35 -0400 (EDT) Message-ID: Date: Thu, 14 Aug 2025 07:39:35 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Strange deadlock with object/target of lock : transaction To: Achilleas Mantzios , "pgsql-general@lists.postgresql.org" References: <0c474bc1-e7d6-4d7f-88ad-5284f89c997b@cloud.gatewaynet.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: <0c474bc1-e7d6-4d7f-88ad-5284f89c997b@cloud.gatewaynet.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 8/14/25 00:07, Achilleas Mantzios wrote: > Hi All > > We've been hit by a weird deadlock which it took me some days to isolate > and replicate. It does not have to do with order of updates or any > explicit TABLE-level locking, the objects/targets of the deadlock in > question are transactions. I have some questions: 1) Did this work in versions prior to 18? 2) The test case you ran was done on 18beta1, are you planning to test on the just released 18beta3? -- Adrian Klaver adrian.klaver@aklaver.com