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 1mDLpQ-00025S-CD for pgsql-committers@arkaria.postgresql.org; Tue, 10 Aug 2021 07:05:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mDLpP-00077B-Bc for pgsql-committers@arkaria.postgresql.org; Tue, 10 Aug 2021 07:05:35 +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 1mDLpP-000773-60 for pgsql-committers@lists.postgresql.org; Tue, 10 Aug 2021 07:05:35 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDLpN-00005i-6U for pgsql-committers@lists.postgresql.org; Tue, 10 Aug 2021 07:05:34 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id F015A320090A; Tue, 10 Aug 2021 03:05:30 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Tue, 10 Aug 2021 03:05:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=xsMyppymdy8shVy76XiFtRFDgd9 VVpqpVrGlsosgmvg=; b=SxYc86oZhIywrW8niIZRL/JEC4AG9AsKWDxtf1kXntV EiLFmXqGvuEP2WwiYwsBvzVcErd2ioFj5ICODVVtZym7g0uU0hiBECCrPjBiQc/O bkiAlcKRytNWPdJzWLKZvjoSbn2/SuJfoXyHJ37mpkMpu0jHKR5KdT22how87/sr v8TqeO61a2zSuZJ9gLt64QVDYH1qoops/A4lo+ogXb/DM+CDfgOv7/ghqbE7vYWk Liz/3Ug8zq9c2+wCNolLbMXHdWTKT+IwiKYnciO9m6wauJNj9hZS/g7oUIVVBOzw Y8ocYfvNr2U0RH+IqcG9kjJAEemYEWYlqJMUUUmsI4Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=xsMypp ymdy8shVy76XiFtRFDgd9VVpqpVrGlsosgmvg=; b=N5SWNYtuHHZMwKS+nQS+TA 75qrIl54yyxK3wWKiPXrnguujgMDnCV010uBGKdk/1yVeJ609QE0FCHqhidFeYUQ TpH9ksfZKHyMCMLgugZjGRHVB5nAgrT32ZuXhi7pDyqg6hIL/hJ3hyGKSyYJ0n59 qjosiCaaAd5AvMn+J/XxGNXYKjqMyHPhQbyV7d+ikY28eNFzgbTTZ25TylXK2uQ1 cipnUVEIn3/vyOJmicB7n5qUxawIChwkZSskcyQOy+DobaPdV+CygHbBMFg9bNWf suAETvuClCUMMGvz+Wqjj+kKnGSE9apa24yTm60lWQ3Ene+q+89Qv0Kb3n3MZLrg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrjeekgdduudeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvuffkfhggtggujgesghdtreertddt vdenucfhrhhomhepofhitghhrggvlhcurfgrqhhuihgvrhcuoehmihgthhgrvghlsehprg hquhhivghrrdighiiiqeenucggtffrrghtthgvrhhnpedvgeduuefhtdeuleettdevjeeh heeiveeuieegleetgeeljeelieeuieehgeevhfenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehmihgthhgrvghlsehprghquhhivghrrdighiii X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 10 Aug 2021 03:05:27 -0400 (EDT) Date: Tue, 10 Aug 2021 16:05:25 +0900 From: Michael Paquier To: Andres Freund Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Move temporary file cleanup to before_shmem_exit(). Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="o2OjWM3IkCrzipyE" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --o2OjWM3IkCrzipyE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Aug 08, 2021 at 02:23:06AM +0000, Andres Freund wrote: > Move temporary file cleanup to before_shmem_exit(). >=20 > As reported by a few OSX buildfarm animals there exist at least one path = where > temporary files exist during AtProcExit_Files() processing. As temporary = file > cleanup causes pgstat reporting, the assertions added in ee3f8d3d3ae caus= ed > failures. While going through the latest updates, I have noticed a typo: + * Initialize temporary file access after pgstat, so that the temorary + * file shutdown hook can report temporary file statistics. With one s/temorary/temporary/ here. -- Michael --o2OjWM3IkCrzipyE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmESJTUACgkQnvQgOdby QH3pDw/9Hq4yc9+aKw6xf7l79no/T7AkWrdVDs9EmhEiWY1ODtiigEHamT4EdV0L WDIxZVQJJEq7ntB0bQzOn65tG9aC1BRhaaMz5+5SACoGXOAImLIRfFIUf2F1F6rx Xfyl9ARegY3+Egm/1YJiQTRIGqE7GihQ7Cf01mOajYRWPfUYWb+xJR07nq2wIa6A nAHLiBCIcxNQDELaiG3HEUfMOAny6nlyGJoDtsls4fir8wTQUz2mUs9FKpepC9Lw 3OR+ds1CP+N0pLTfwSq743Q0D7xWgrYnW50VgesbHEAVDlN6qTHo930nrNw6/sqZ OCgN2dCSx2Mm1iJPIYHZkuClhh6I3NovUFBK+dT8+zu4AeJiERSOY1qbNb1Z24uq VDZn3xvi+JW3DDateEZiB1U9JkuTOYk+odDdgKgMzwSKR/SCvrOC8Rb3Ph41E+R+ qVJO5IwVI3//vit1xtRQhey0FhaV8YxEStq3Xg1F1z8rgCRHdoLj5BakOoLI5UN8 sf7/slJBxFBRaFDA7PRQMqaMsd4ykZx67cGX6XLn76qx9p6yX3N1AbibgXh5i85u J+96Jb92vs745kzmHr8FXN+u1miixU+Vy2DEwChDs2pNW5jBl8+LUPriVx4zf3ON w8dBffMEVdt5hkjupDOQI/RISnnaYYwprRT3/d59ZZEKS02QHbM= =90yM -----END PGP SIGNATURE----- --o2OjWM3IkCrzipyE--