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 1weFG3-004fI0-0T for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Jun 2026 16:54:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1weFFz-004GeJ-2A for pgsql-hackers@arkaria.postgresql.org; Mon, 29 Jun 2026 16:54:51 +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 1weFFz-004GeA-1G for pgsql-hackers@lists.postgresql.org; Mon, 29 Jun 2026 16:54:51 +0000 Received: from mail-oa1-x33.google.com ([2001:4860:4864:20::33]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1weFFx-00000000odo-1MSG for pgsql-hackers@lists.postgresql.org; Mon, 29 Jun 2026 16:54:51 +0000 Received: by mail-oa1-x33.google.com with SMTP id 586e51a60fabf-43bfe209e45so1986159fac.0 for ; Mon, 29 Jun 2026 09:54:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782752087; x=1783356887; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=3S+s4+8IPeeiQe0+I+pKiEdkyvcQSCqXt3qeq3qrV/U=; b=ssRmfY5GIOLYc9IE3Zad57+KxzBs+33nA2q/l9SRZsFilncbILoZuJ/Kf88Hsv4m6W YMfAzghWifRIYyBIluXEE0xbumW0UjgB6/ww4204bXEuc4KvQKPxDQuI3Ok7B5Jh3iDi RvZ7P4SZjk1eOn7QQVb8Z+Y+IfpWCZbj65XuRR30BNreE9pOLbwO2Qy2/thqyt/tqgk8 RJ7j6j/ttNd5PUwR74CsAVtRUDx9viLZRKhvq2D+GxGXyVFFB5DtugnhlYzHpvW0gYe+ j8jcztQJCKz3HEPmQ566rakLFCidu98HPof602uZvrJD+0qSBc9VqKGN0qyCG6gzML9W XGKA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782752087; x=1783356887; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=3S+s4+8IPeeiQe0+I+pKiEdkyvcQSCqXt3qeq3qrV/U=; b=eLXTaEtq7W1kxqjlvmCdJdq3lvxfpcgFhV8meZrGqacaPcGiWbqTzRNa35Pv9/IVN9 wDwNRWxOggFmBp6ymVWgsIZZtzwTWuBVCOvn/xVmJ3k6/C3rFyREvnGfkW4bsR9QZm7D rzjXrObD4Z1LVOxc4Zd6fsXUZUtq+V1GhW0UkzgPYP98F8UO46Hwbvm/rkgt7mqX1s49 MQmL+wIj8wFg6z9NDWgc1H4jCSy7cY3YaDb+jgi0Cnxh1lhOvZRkLFsbV9YKH/FaMmRP zHNqv12bGtmZ1JV4m6ZhIIA9QTgToUoWVff6SXi9X6Qei9Akl+c1iKU3ekwenNNDGoL2 dapg== X-Forwarded-Encrypted: i=1; AFNElJ/5oE+GOFa7at15GXAnXivpYHcAxOt+3Xbzx5gGNXOBVCxf8ng2FCEhQ1Y4QqWBH1dV7oSvgxB7cqpg78BP@lists.postgresql.org X-Gm-Message-State: AOJu0Yy5VtAeUjIWye/mT8liwHoJgBiz/cRtWTAM5WFpWkLaLQ/JQbxz GiRr56DStGV8JGodbyGu3wSKWkxZGtE6lwWAClDFQEPPYgGWNxg3X0sc X-Gm-Gg: AfdE7cmLcqgflNfCUtwseHZVnbb0rJkuRfij7vkLXhrgtIE+/B69LYmbp9MUvKWL6GP RhzjzijEFZ/YmBnQi0gUN//pMgdH8gSc1Or51216lWe7tnwOasIOiPiaj1Oo9qtZyD3j5GhE2qR +pdkUNT/JflagAIZ0xuS21DZuGz/xa3BWAfdFjRVmegIRWcsq33dt+FU5MAyBNeWRmm4k25jlhO VeY9uLwjSTgxu633LphEh6tU6jVqQseUkSGuG2iezTDzY5NPZn7+HVdlGNwvyORtUr6ih9qhwmR qFmcUDlSPFJBpgDO5x1m4nh4t68p+qXJRsnusBWRY3SS+sxzI6o0xKuSmB3Yp4dp82cg1LAzzCH qpInT/ZXfLjLoUJYuvFSJg7bcE4bNvy3M98BCZpbpSoe1mymQJlOndnkyUp2JMfklRHX1BjRWIB D4vIGXtRwntZ0YFA8aglPCiuWA+SKZdfuxLcrBKpXlAxkliy6LYIwsnIUjsWmI5sl6bJw0VUqj7 Y/jUnV1DzU= X-Received: by 2002:a05:6809:243:20b0:495:eb85:fc31 with SMTP id 5614622812f47-495eb862f47mr20506b6e.1.1782752087065; Mon, 29 Jun 2026 09:54:47 -0700 (PDT) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 5614622812f47-494c3766f3esm5007751b6e.8.2026.06.29.09.54.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Jun 2026 09:54:46 -0700 (PDT) Date: Mon, 29 Jun 2026 11:54:44 -0500 From: Nathan Bossart To: Michael Paquier Cc: Bharath Rupireddy , cca5507 , Kyotaro Horiguchi , pgsql-hackers , Jeff Davis Subject: Re: Handle concurrent drop when doing whole database vacuum Message-ID: References: <20260615.145410.2255263073807327959.horikyota.ntt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Jun 24, 2026 at 08:40:22AM +0900, Michael Paquier wrote: > I'd sure welcome Nathan and Jeff opinions (added now in CC) regarding > this line of thoughts; they worked on MAINTAIN, even if the early > relation ACL check when building a list of relations for a > database-wide manual VACUUM predates that. I'm mostly concerned about reopening the ability for folks to take strong locks on catalogs without the necessary privileges, even if they are only briefly held. Commit a556549 fixed a real problem, so I'm nervous about partially reverting it. IOW my first reaction is that v1 is the right idea, i.e., we should just skip the relation if it disappears. I'm not sure we even need to log it. -- nathan