diff options
author | Thomas Munro <tmunro@postgresql.org> | 2019-02-24 23:48:52 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2019-02-24 23:52:20 +1300 |
commit | bcf6278343444aa1de93b7c131b30c608a5b6e45 (patch) | |
tree | 2acefa7ff2b9547465fba4138349a6906e54cd08 /src/tutorial/funcs.c | |
parent | 387483e89b2851247e091013bfdbfd1c448cb7df (diff) | |
download | postgresql-bcf6278343444aa1de93b7c131b30c608a5b6e45.tar.gz postgresql-bcf6278343444aa1de93b7c131b30c608a5b6e45.zip |
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
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions