Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxDFI-0005LV-9h for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Nov 2022 20:18:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oxDFH-0001Tk-6G for pgsql-hackers@arkaria.postgresql.org; Mon, 21 Nov 2022 20:18:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxDFG-0001Rz-SX for pgsql-hackers@lists.postgresql.org; Mon, 21 Nov 2022 20:18:22 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oxDFF-00012U-0l for pgsql-hackers@lists.postgresql.org; Mon, 21 Nov 2022 20:18:22 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id F34835C0156; Mon, 21 Nov 2022 15:18:19 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Mon, 21 Nov 2022 15:18:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1669061899; x=1669148299; bh=oMHRPUgNUI 105LmNKQZFQ6Jg6WfiGQxpymeuwVhTCO4=; b=kNqNYBFxha2aotiJRHIK/smseH nqmd/6WSNYyr1LvRZR0xaae98AkTqXRogT1204lbMJsDbTrmCz2L6VGYmkURmYCP TQVGZ7cprl00jYAPXya8kk5OoaJeGJEBNcexN7zNjAGoCb67aNHwbSIJWr1PaC+j t5Cr/MdKSgCXcGAtu7D6FVyt8Bii1zgw2HRuavTcYyhen5dkc7uHUegcUQGfbcBe DltPeA7LVaCHNuy2lSBlIVuyK9MhQoGn1AwsHCfxkVbJSKqGJI5qFWE0fV1M3Zn0 5+Bon6CFdGwsG6HOd5Y4xKCEyE4sjK40Ya790TybcOKsaoj8k/2LIRngEorQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; t=1669061899; x=1669148299; bh=oMHRPUgNUI105LmNKQZFQ6Jg6Wfi GQxpymeuwVhTCO4=; b=b8ES57B5RLll8/IU2zdsNFhTi5YlYWGghfSQ8tQz7kzH RF67792ap6VS668bGaa6OSVIIowuuA9HRRtSODaoGNHQ6tORz9tC8Za9rSTpfiKc FRcJ6d6v3NZr/QY8w2Z9FVmfAFAaYvk4jDF2m0w0Yu3hQEiPjdUri1ICrX+JmRgX OSmBlYYj/7gHiM00dMyVDQvRRzDSNQoprRyag9FTqVSmchlYXXu6FCsM3NFym+21 2obaSOVjpM2Tqu+6CytyGNjl3SjFbo11eFe8TCpHLzf2vv4w2rw0z9Z+i3AOoKXW ytogYBJjywj+pTb0/vljXKp0bAKS4BYUzaVO7Icetw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrheeigddufeehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughr vghsucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrf grthhtvghrnhepvdfffeevhfetveffgeeiteefhfdtvdffjeevhfeuteegleduheetvedu ieettddunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Feedback-ID: id4a34324:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 21 Nov 2022 15:18:19 -0500 (EST) Date: Mon, 21 Nov 2022 12:18:18 -0800 From: Andres Freund To: Tom Lane Cc: Robert Haas , pgsql-hackers@lists.postgresql.org Subject: Re: pgsql: Prevent instability in contrib/pageinspect's regression test. Message-ID: <20221121201818.u32xtvpqc5wd6tx7@alap3.anarazel.de> References: <20221121172206.h6kywxrzqcmhoqom@awork3.anarazel.de> <3214376.1669051457@sss.pgh.pa.us> <3215927.1669052115@sss.pgh.pa.us> <20221121195628.2rlqpbkjgjsvqn6w@alap3.anarazel.de> <3264594.1669061535@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3264594.1669061535@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, On 2022-11-21 15:12:15 -0500, Tom Lane wrote: > If I were trying to find a better fix I'd be looking for ways for > parallel workers to be able to read the parent's temp tables. > (Perhaps that could tie in with the blue-sky discussion we had > the other day about allowing autovacuum on temp tables??) That'd be a nontrivial change, because we explicitly don't use any locking for anything relating to localbuf.c. One possible benefit could be that we could substantially reduce the code duplication between "normal" bufmgr.c and localbuf.c. Greetings, Andres Freund