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.96) (envelope-from ) id 1x4KM1-0074dn-2b for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2026 15:36:54 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1x4KM0-00G63B-1e for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2026 15:36:52 +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.96) (envelope-from ) id 1x4KM0-00G62x-01 for pgsql-hackers@lists.postgresql.org; Wed, 09 Sep 2026 15:36:52 +0000 Received: from mail-yw1-x1136.google.com ([2607:f8b0:4864:20::1136]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1x4KLx-00000003n8j-1K4d for pgsql-hackers@postgresql.org; Wed, 09 Sep 2026 15:36:51 +0000 Received: by mail-yw1-x1136.google.com with SMTP id 00721157ae682-8200b55dc47so73610867b3.3 for ; Wed, 09 Sep 2026 08:36:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dunslane-net.20251104.gappssmtp.com; s=20251104; t=1788968207; x=1789573007; darn=postgresql.org; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:from:to:cc:subject:date:message-id:reply-to:content-type; bh=GUJYWaiQsIH6JFcOi4CK9WD4HGSv8gDlJV7K1VaXyxE=; b=ExCKaUCVViwLRCvy9exV0A7Ept9Jmht0bYsTliiRzr7QQGKOKUhvZlSh1L9vTwXPWL EZXmSU8aFy41EsoXiqM8MEdsU7V3EPKJqsfg2UwBVYs3ED0lDlDJEfHpeqPKMwz3Avr4 Jmpw8CkL5bhHrLEJuEWnNZKKUhpPASGJBJ684aQ1jS6LDXxXdZhAIUmKu7ME0U4Ky/b3 0OK/tTJrwVIu4vq5Cptfh6o9zyCXpEQZ8yjJvm1MlpBL1qm3qxGaWbuTZaNF4dEepaFH nBBsTL9s4kuVACYiDn1qsC4N2owNcEQXsKA3xQ/4togw5km3JLZF/USOZ5SXUKARNx2f qmug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788968207; x=1789573007; h=content-transfer-encoding:content-type:in-reply-to:content-language :references:cc:to:from:subject:user-agent:mime-version:date :message-id:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=GUJYWaiQsIH6JFcOi4CK9WD4HGSv8gDlJV7K1VaXyxE=; b=DtV+T0coZ8ajmf++BHaeNk7D4Kv48avb+6T5hbKx4C6ye4Fqv9bqjpZfTwX2l59Bde z8i2ZOQtMyZ2SATjhurj8ag1LvD4v7l+pSBgdKs0N/7nvjLG9GEPof5DZxuVplA9inFo mCoTxxtBsLsFPhKS00VE987zMmX0camS6fwklCWIRAF1Wg7zaqRc1bXQ/Sdz53SmuDjn L9OiDTVhEa98pcM5pfWqvWJYe1O9pMvfb5n1O0oKHJMOXFfdtofcr+nhPluNAMsQSXRN qxKLfNCvXi976PGgbprKLz7jMZxWEDj/zNBl45P0FV7LQZLBeoWVkfAqBswAa/yCmO09 fjOw== X-Gm-Message-State: AFuF++knwMZSDkMBPy+cbev1ulqIS0L9dY24HVdryw6mCrLJC894SKYY DO7qhLw1H4kXT9921oPyvclqaYHMPYVxRxOgyrEdUZ6O5+Jzd3xbuUvXOS/SefSlufBc6Zq8Jib t9P4sEFQ= X-Gm-Gg: AYBFou18sSBOkQ91kUvLET+K3SU4Jq8OEDHIyshomkBcOgjNYkK5kOIxFUdoiMbl+KW XXLvq1/GIAY3xqu3KV+QcsxxMeEYqTqGsjjm6vifBKs8jBAMKeuOAQ2mdf8gysJVhsw/zHSwbIa 84oMWv8a/QLyHAaVOLQpRsd7zq8yHKxl3C1/KpwXjBO/Gxyzl6J3qVGAVzLAhh4W762/4tOc9dh 2Y/sL+vCemNxnLfs7zl7mDPatOrPC/G+G5asnh35s3I2MEN1nlUsIX0QFIV3R/EmFvZIDiNiRdg lyB03MXBhwWGWFEq7WPTUPsVw2mFXe8Jvdki4HhtstLbh5iwfDqyTROnWQcUbt4d/q9bsesNSsc Z/wtzQzeDMHSS9MxF8OhwiVNgpxgqM5Az4XkvDthuzOIqnvV/YPcAby/PGRZE8iNU8dTPe43OzU PziqWK5fFMozWiBCjg5FbMAmeMwEMVuVyTdhcl+rDDvnbeE47oDGfVKG2AcQPINWnd3pKq8IxPf yO8HWDe7g== X-Received: by 2002:a05:690c:4588:b0:867:142e:f581 with SMTP id 00721157ae682-87121acdf18mr147895487b3.6.1788968207367; Wed, 09 Sep 2026 08:36:47 -0700 (PDT) Received: from ?IPV6:2605:a601:a6a6:4300::303? ([2605:a601:a6a6:4300::303]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-53080ce82aesm85775871cf.31.2026.09.09.08.36.45 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Sep 2026 08:36:46 -0700 (PDT) Message-ID: <5b4c40c0-9fe1-4db3-9b34-421e5ff128f2@dunslane.net> Date: Wed, 9 Sep 2026 11:36:44 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Concurrent DROP TABLESPACE can miss a shared dependency From: Andrew Dunstan To: Michael Paquier , Ayush Tiwari Cc: PostgreSQL Hackers References: <0ec2d585-a5c2-4f43-aa27-749687a262cd@dunslane.net> Content-Language: en-US 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 On 2026-09-09 We 7:39 AM, Andrew Dunstan wrote: > > On 2026-09-08 Tu 7:25 PM, Michael Paquier wrote: >> On Tue, Sep 08, 2026 at 07:28:51PM +0530, Ayush Tiwari wrote: >>> On Mon, 7 Sept 2026 at 23:28, Andrew Dunstan >>> wrote: >>>> I think this should be applied as a single squashed commit, >>>> (soon so I can rely on it for the fixes I mentioned). >> Yeah, a backpatch seems adapted.  That's a nasty problem.  It's >> unlikely going to be hit in practice, but we can say that for a bunch >> of stuff that gets backpatched. >> >>>> I think it should be backpatched - all live branches have the same >>>> problem. >>> Agreed that this should be backpatched to all live branches. >> Andrew, are you planning to work on it?  I did not spend cycles >> looking at the details and the command patterns involved, on the >> premise that you would handle that.  Saying that, the premise of the >> patch feels sound with a few more additional shared locks to prevent >> the concurrent manipulations. >> > > Thanks for looking. > > > Yes, planning to work on it today. > > > Pushed, thanks all. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com