"Magnus Hagander" <mha(at)sollentuna(dot)net> writes:
> BTW, win32 sometimes has a bad habit of returning access denied for
> other things as well - in some caes you can get access denied instead of
> sharing violation, and you can often get it from AV and firewalls and
> such.
Looking at the fsync code in md.c, I note that it's designed to disregard
file-not-found (ENOENT). Are there any cases in which win32 might
return EPERM for scenarios that a sane person would call file-not-found?
regards, tom lane