Re: Postgresql13_beta1 (could not rename temporary statistics file)Windows 64bits - Mailing list pgsql-hackers

From Ranier Vilela
Subject Re: Postgresql13_beta1 (could not rename temporary statistics file)Windows 64bits
Date
Msg-id CAEudQAo6PUE4pXaH8hAco4P+D4QQA9gxwUFWfJh_i2WvxbUnDw@mail.gmail.com
Whole thread Raw
In response to Postgresql13_beta1 (could not rename temporary statistics file)Windows 64bits  (Ranier Vilela <ranier.vf@gmail.com>)
Responses Re: Postgresql13_beta1 (could not rename temporary statistics file)Windows 64bits  (Ranier Vilela <ranier.vf@gmail.com>)
List pgsql-hackers
Em sex., 12 de jun. de 2020 às 15:15, Ranier Vilela <ranier.vf@gmail.com> escreveu:
Posgres13_beta1, is consistently writing to the logs, "could not rename temporary statistics file".
When analyzing the source that writes the log, I simplified the part that writes the logs a little.

1. I changed from if else if to if
2. For the user, better to have more errors recorded, which can help in discovering the problem
3. Errors are independent of each other
4. If I can't release tmpfile, there's no way to delete it (unlink)
5. If I can rename, there is no need to delete it (unlink) tmpfile.
Fix for case 5.
Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: hashagg slowdown due to spill changes
Next
From: Jeff Davis
Date:
Subject: Re: hashagg slowdown due to spill changes