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 1l1dC2-0006TH-3N for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Jan 2021 22:40:14 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1l1dC1-00006W-19 for pgsql-hackers@arkaria.postgresql.org; Mon, 18 Jan 2021 22:40:13 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1dC0-00006L-PI for pgsql-hackers@lists.postgresql.org; Mon, 18 Jan 2021 22:40:12 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1l1dBy-0003UU-Uf for pgsql-hackers@lists.postgresql.org; Mon, 18 Jan 2021 22:40:11 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 49E5E5C0227; Mon, 18 Jan 2021 17:40:09 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Mon, 18 Jan 2021 17:40:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=oVB97HFwUymOXs9sd3/t/95Feu9gYhJiLnf75F7t7Tc=; b=Dk2jpWZK VtnfwfSLODyQEIO2WEnge8rIO0+3DASm/lFM1UwPg1OAFMpQjEwnaQBk2R0neiHH DfzaPc2LlOFoZI4FlnzyHdCfD7R2d2ZeR9F6Bc0sgIMcKi3O6WuykvMQYej7dBUY 4zRVkMXfmeNyir29Ofkw1TKe0IjD8xZNYZ006/bpu2psQe7Dgw0hIkBg1sCxmHFH oTEYlLwZ7xy858niYr7GDQ67ck1fFq1XoNhJGGveaTARKkRx8T11E73BeJVv/+7L zn+gx+CUvzwZ6M3csJ0f8EgX2yO2y69TgEQLSeXK1c359WP4rncxlxz6QiiSxhpY 7Q1Iii4jVc54eg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrtdekgdduieeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfggtggugfgjfgesthekredttderudenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepueffhfejieeuueffgedvudekgeeltdeviedvieeufeei ieevgfetheeufeethedvnecukfhppeduledtrdelhedrudelrddujeejnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprghlvhhhvghrrhgvsegr lhhvhhdrnhhoqdhiphdrohhrgh X-ME-Proxy: Received: from perhan.alvh.no-ip.org (unknown [190.95.19.177]) by mail.messagingengine.com (Postfix) with ESMTPA id 5540C24005B; Mon, 18 Jan 2021 17:40:08 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id B23552A092A; Mon, 18 Jan 2021 19:40:05 -0300 (-03) Date: Mon, 18 Jan 2021 19:40:05 -0300 From: Alvaro Herrera To: Tom Lane Cc: Michael Paquier , pgsql-hackers@lists.postgresql.org Subject: Re: Odd, intermittent failure in contrib/pageinspect Message-ID: <20210118224005.GA3146@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <416195.1611009300@sss.pgh.pa.us> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2021-Jan-18, Tom Lane wrote: > Right. If that's the explanation, then adding DISABLE_PAGE_SKIPPING > to the test's VACUUM options should fix it. However, to believe that > theory you have to have some reason to think that some other process > might have the page pinned. What would that be? test1 only has one > small tuple in it, so it doesn't seem credible that autovacuum or > autoanalyze would have fired on it. I guess the machine would have to be pretty constrained. (It takes almost seven minutes to go through the pg_upgrade test, so it does seems small.) > [ thinks for a bit... ] Does the checkpointer pin pages it's writing > out? I guess it'd have to ... It does, per SyncOneBuffer(), called from BufferSync(), called from CheckPointBuffers(). -- Álvaro Herrera 39°49'30"S 73°17'W