pgsql: Tolerate EINVAL when calling fsync() on a directory.

Поиск
Список
Период
Сортировка
От Thomas Munro
Тема pgsql: Tolerate EINVAL when calling fsync() on a directory.
Дата
Msg-id E1gxrd3-0002BQ-61@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ad714c6072c9482ffd398716fdc018f25c5c2fb0

Modified Files
--------------
src/backend/storage/file/fd.c | 2 +-
src/bin/initdb/initdb.c       | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Thomas Munro
Дата:
Сообщение: pgsql: Tolerate EINVAL when calling fsync() on a directory.
Следующее
От: Thomas Munro
Дата:
Сообщение: pgsql: Tolerate EINVAL when calling fsync() on a directory.