postgresql/src/backend/storage/file
Thomas Munro f16735d80d Tolerate EINVAL when calling fsync() on a directory.
Previously, we tolerated EBADF as a way for the operating system to
indicate that it doesn't support fsync() on a directory.  Tolerate
EINVAL too, for older versions of Linux CIFS.

Bug #15636.  Back-patch all the way.

Reported-by: John Klann
Discussion: https://postgr.es/m/15636-d380890dafd78fc6@postgresql.org
2019-02-24 23:50:20 +13:00
..
Makefile Add infrastructure for sharing temporary files between backends. 2017-12-01 16:30:56 -08:00
buffile.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
copydir.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
fd.c Tolerate EINVAL when calling fsync() on a directory. 2019-02-24 23:50:20 +13:00
reinit.c Update copyright for 2019 2019-01-02 12:44:25 -05:00
sharedfileset.c Update copyright for 2019 2019-01-02 12:44:25 -05:00