Re: pgsql: Move temporary file cleanup to before_shmem_exit(). - Mailing list pgsql-committers

From Michael Paquier
Subject Re: pgsql: Move temporary file cleanup to before_shmem_exit().
Date
Msg-id YRIlNQhLNfx555Nx@paquier.xyz
Whole thread Raw
In response to pgsql: Move temporary file cleanup to before_shmem_exit().  (Andres Freund <andres@anarazel.de>)
Responses Re: pgsql: Move temporary file cleanup to before_shmem_exit().  (Andres Freund <andres@anarazel.de>)
List pgsql-committers
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.
--
Michael

Attachment

pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add tab completion for DECLARE .. ASENSITIVE in psql
Next
From: Daniel Gustafsson
Date:
Subject: pgsql: Remove unused regression test certificate server-ss