git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 483520e) | patch
Tolerate EINVAL when calling fsync() on a directory.
2019年2月24日 10:48:52 +0000 (23:48 +1300)
2019年2月24日 10:50:20 +0000 (23:50 +1300)
commit f16735d80d2fbe1c86f4ac044ee66fe2073b8877
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
src/backend/storage/file/fd.c diff | blob | blame | history
src/common/file_utils.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /