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 1mEWas-0005o8-2W for pgsql-committers@arkaria.postgresql.org; Fri, 13 Aug 2021 12:47:26 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mEWar-0005au-27 for pgsql-committers@arkaria.postgresql.org; Fri, 13 Aug 2021 12:47:25 +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 1mEWaq-0005al-Su for pgsql-committers@lists.postgresql.org; Fri, 13 Aug 2021 12:47:24 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mEWal-0002Pe-Hp for pgsql-committers@lists.postgresql.org; Fri, 13 Aug 2021 12:47:23 +0000 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 1E284320091F; Fri, 13 Aug 2021 08:47:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 13 Aug 2021 08:47:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=mxxHUkb/P5pHO5Zdmx5uhTWqGRt BuYI4OmMWEhr390U=; b=PppOZvd3ECdII7dngvTP5pl4zFY6jNDjFSVi/CEHZZD YbkAr4oEJDlJEcWGvfhdMaaXzSmqo/hSsF4h6UvVLLLj4uAQT8KO/J+maqXe+HK3 RAaEpCI24LAbddu44WAyu1U1g/ow3MUfw5dqhhJNh4Mw8W8jUTXHWfc8HLCdWf95 NWQ95LLeuFlrXQD4FkF5+FrW4x5906of69U3DHGYB3zxWfdiEX+0ZyS75xQNCYiG VqcVTEb6b1YTtZGlcziZkV4VAAeruywFL6BAR0oicHvE+mfmetFn5KkpLYJgzggI wXd/1vpeHGSYzFSIFZXu0wTPsuk4d80BKxHLLNHLR9A== 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=mxxHUk b/P5pHO5Zdmx5uhTWqGRtBuYI4OmMWEhr390U=; b=VhDd4bHt7k84OM/tW75i/m kpk0Ru2dlpZdjOL3qzERKyu1uygdV1kjqysuHOBYI6nFZUaAh4tvIZmLtbD43HOB T5BxrIk8EerrE8QTUWZ03TAZaIY8KSbXLodLbuN3hKWbnhYIW9MfSdV17gvklN5V ql28VHQxcJGEGl7hXWvsinWhrQOBC3rWrGbUOttAGioh2YN3MbeM1tFjCHUmBPL1 351WxM+qMo5gjygZ9CdjGUYtUhY4zGht3hnpTrt0dYBgfkdZLr/yXqlHGhlJ64DS AfEtMsRNVBR9K8gx3pfeyt5+gqwbI6SWASTzIUAs/+N3uCWfJOFT/s+d4qRktmbg == X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrkeehgdehiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpeffhffvuffkfhggtggujgesthdtredttddtvdenucfhrhhomheptehnughrvghs ucfhrhgvuhhnugcuoegrnhgurhgvshesrghnrghrrgiivghlrdguvgeqnecuggftrfgrth htvghrnhepudekhfekleeugeevteehleffffejgeelueduleeffeeutdelffeujeffhfeu ffdunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprg hnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 13 Aug 2021 08:47:16 -0400 (EDT) Date: Fri, 13 Aug 2021 05:47:13 -0700 From: Andres Freund To: Michael Paquier Cc: pgsql-committers@lists.postgresql.org Subject: Re: pgsql: Move temporary file cleanup to before_shmem_exit(). Message-ID: <20210813124713.sc4lyr3nr3334g7p@alap3.anarazel.de> References: 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 2021-08-10 16:05:25 +0900, Michael Paquier wrote: > On Sun, Aug 08, 2021 at 02:23:06AM +0000, Andres Freund wrote: > > Move temporary file cleanup to before_shmem_exit(). > > > > 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 caused > > 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. Thanks, fixed.