Re: pgsql: Adjust initdb to also not consider fsync'ing failures fatal.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Adjust initdb to also not consider fsync'ing failures fatal.
Дата
Msg-id 27843.1432929966@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Adjust initdb to also not consider fsync'ing failures fatal.  (Peter Eisentraut <peter_e@gmx.net>)
Ответы Re: pgsql: Adjust initdb to also not consider fsync'ing failures fatal.  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-committers
Peter Eisentraut <peter_e@gmx.net> writes:
> On 5/29/15 1:05 PM, Tom Lane wrote:
>> Adjust initdb to also not consider fsync'ing failures fatal.

> This introduces a failure in the initdb tests, which expect that
>     initdb -S -D /notthere
> returns a nonzero exit code.

Hm, I guess we don't run anything else that touches the DB directory
in this case?  In the backend case we'd have failed much earlier.

I'm not 100% convinced that the test case's expectation is necessarily
the right thing, though.

            regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: Adjust initdb to also not consider fsync'ing failures fatal.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: initdb -S should now have an explicit check that $PGDATA is vali