On Wed, Nov 04, 2020 at 01:24:46PM +0100, Andreas Kretschmer wrote:
>> Any ideas about what is the problem? or anything else I need to check?
>
> wild guess: Antivirus Software?
Perhaps not. To bring more context in here, PostgreSQL opens any
files on WIN32 with shared writes and reads allowed to have an
equivalent of what we do on all *nix platforms. Note here that the
problem comes from a WAL segment write, which is done after the file
handle is opened in shared mode. As long as the fd is correctly
opened, any attempt for an antivirus software to open a file with an
exclusive write would be blocked, no?
--
Michael