Re: pg_resetwal tests, logging, and docs update

Поиск
Список
Период
Сортировка
От Aleksander Alekseev
Тема Re: pg_resetwal tests, logging, and docs update
Дата
Msg-id CAJ7c6TMN1w9+-6MHVkzv23z6rmUJGAqoLJ5JOZ1EyjYQnt7F8w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_resetwal tests, logging, and docs update  (Peter Eisentraut <peter@eisentraut.org>)
Ответы Re: pg_resetwal tests, logging, and docs update  (Peter Eisentraut <peter@eisentraut.org>)
Список pgsql-hackers
Hi,

> Hmm.  I think maybe we should fix the behavior of
> GetDataDirectoryCreatePerm() to be more consistent between Windows and
> non-Windows.  This is usually the first function a program uses on the
> proposed data directory, so it's also responsible for reporting if the
> data directory does not exist.  But then on Windows, because the
> function does nothing, those error scenarios end up on quite different
> code paths, and I'm not sure if those are really checked that carefully.
>   I think we can make this more robust if we have
> GetDataDirectoryCreatePerm() still run the stat() call on the proposed
> data directory and report the error.  See attached patch.

Yep, that would be much better.

Attaching all three patches together in order to make sure cfbot is
still happy with them while the `master` branch is evolving.

Assuming cfbot will have no complaints I suggest merging them.

-- 
Best regards,
Aleksander Alekseev

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: abi-compliance-checker
Следующее
От: Vik Fearing
Дата:
Сообщение: Re: MERGE ... RETURNING