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 1sZbEL-0026yo-9p for pgsql-general@arkaria.postgresql.org; Thu, 01 Aug 2024 19:12:53 +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 1sZbEI-00Cl8S-93 for pgsql-general@arkaria.postgresql.org; Thu, 01 Aug 2024 19:12:50 +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 1sZbEH-00Cl8J-UF for pgsql-general@lists.postgresql.org; Thu, 01 Aug 2024 19:12:49 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sZbEB-002ago-CP for pgsql-general@lists.postgresql.org; Thu, 01 Aug 2024 19:12:48 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 471JCfaM3780010; Thu, 1 Aug 2024 15:12:41 -0400 From: Tom Lane To: Jim Vanns cc: pgsql-general@lists.postgresql.org Subject: Re: VACUUM on temp table blocks VACUUM on another... In-reply-to: References: Comments: In-reply-to Jim Vanns message dated "Thu, 01 Aug 2024 16:54:49 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3780008.1722539561.1@sss.pgh.pa.us> Date: Thu, 01 Aug 2024 15:12:41 -0400 Message-ID: <3780009.1722539561@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Jim Vanns writes: > I have two sessions, each creating a temporary table of the same name - > 'foobar'. Why would a vacuum of 'foobar' from one session block the vacuum > of 'foobar' in the other session? That's fairly hard to believe. Can you provide a self-contained test case? regards, tom lane