Re: [BUGS] Fails to work on live images due to fsync() on pg_commit_ts before doing any write there

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [BUGS] Fails to work on live images due to fsync() on pg_commit_ts before doing any write there
Дата
Msg-id 11052.1510066721@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [BUGS] Fails to work on live images due to fsync() onpg_commit_ts before doing any write there  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: [BUGS] Fails to work on live images due to fsync() onpg_commit_ts before doing any write there  (Stephen Frost <sfrost@snowman.net>)
Список pgsql-bugs
Stephen Frost <sfrost@snowman.net> writes:
> * Raphael Hertzog (hertzog@debian.org) wrote:
>> Still I believe that this issue should be fixed in both sides. It's not
>> smart from PostgreSQL to call fsync() when it has not made any change.

> Why?

My thought about this is just to ignore EINVAL when fsync'ing a directory,
as we already do with EBADF.
        regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

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

Предыдущее
От: Raphael Hertzog
Дата:
Сообщение: Re: [BUGS] Fails to work on live images due to fsync() onpg_commit_ts before doing any write there
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: [BUGS] Fails to work on live images due to fsync() onpg_commit_ts before doing any write there