On Wed, Mar 10, 2021 at 6:14 AM Tom Lane <t...@sss.pgh.pa.us> wrote: > > PS: I seem to recall that some Microsoft filesystems have 2-second > resolution on file mod times, so maybe it needs to be "time(NULL) - 2"? >
You are thinking about FAT: https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-getfiletime#remarks Regards, Juan José Santamaría Flecha