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

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



pgsql-committers by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Fix typo.
Next
From: Andres Freund
Date:
Subject: pgsql: Remove support for background workers without BGWORKER_SHMEM_ACC