Re: Improve cleaning files on Postgres crashes

2025-02-19 Thread Ranier Vilela
Em qua., 19 de fev. de 2025 às 14:48, Ranier Vilela escreveu: > Em ter., 18 de fev. de 2025 às 13:29, Ranier Vilela > escreveu: > >> >> Em ter., 18 de fev. de 2025 13:21, Tom Lane escreveu: >> >>> Ranier Vilela writes: >>> > There are some reports that Postgres does not handle correctly >>> cl

Re: Improve cleaning files on Postgres crashes

2025-02-19 Thread Ranier Vilela
Em ter., 18 de fev. de 2025 às 13:29, Ranier Vilela escreveu: > > Em ter., 18 de fev. de 2025 13:21, Tom Lane escreveu: > >> Ranier Vilela writes: >> > There are some reports that Postgres does not handle correctly cleaning >> the >> > files used when it crashes. [1] >> > I think that function

Re: Improve cleaning files on Postgres crashes

2025-02-18 Thread Ranier Vilela
Em ter., 18 de fev. de 2025 13:21, Tom Lane escreveu: > Ranier Vilela writes: > > There are some reports that Postgres does not handle correctly cleaning > the > > files used when it crashes. [1] > > I think that function *fcloseall* can help a little bit. > > Mainly on Windows. > Thanks for ans

Re: Improve cleaning files on Postgres crashes

2025-02-18 Thread Tom Lane
Ranier Vilela writes: > There are some reports that Postgres does not handle correctly cleaning the > files used when it crashes. [1] > I think that function *fcloseall* can help a little bit. > Mainly on Windows. I doubt that this is a good thing to try to do during a panic exit. In the first pl

Improve cleaning files on Postgres crashes

2025-02-18 Thread Ranier Vilela
Hi. There are some reports that Postgres does not handle correctly cleaning the files used when it crashes. [1] I think that function *fcloseall* can help a little bit. Mainly on Windows. /* * Closes all of the calling process's open streams. * On Windows, close and remove all temporary files cr