Re: Failure with 004_logrotate in prairiedog

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Failure with 004_logrotate in prairiedog
Дата
Msg-id 234637.1626704342@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Failure with 004_logrotate in prairiedog  (Kyotaro Horiguchi <horikyota.ntt@gmail.com>)
Список pgsql-hackers
Kyotaro Horiguchi <horikyota.ntt@gmail.com> writes:
> When rotation happens, the metainfo file is once removed then
> created. If slurp_file in the metafile-checking loop hits the gap, the
> slurp_file fails with ENOENT.

Oh!  Yeah, that's dumb, we should fix it to use rename().  Can't blame
platform's rename() if it's not being used.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: O_DIRECT on macOS
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Failure with 004_logrotate in prairiedog