Re: BUG #17543: CSVLOG malformed from disk space error

Поиск
Список
Период
Сортировка
От Kyotaro Horiguchi
Тема Re: BUG #17543: CSVLOG malformed from disk space error
Дата
Msg-id 20220713.130915.1705049654649862003.horikyota.ntt@gmail.com
обсуждение исходный текст
Ответ на Re: BUG #17543: CSVLOG malformed from disk space error  (Andres Freund <andres@anarazel.de>)
Список pgsql-bugs
At Tue, 12 Jul 2022 17:48:53 -0700, Andres Freund <andres@anarazel.de> wrote in 
> It might be possible to devise a scheme in which we force rotation in cases
> where corruption might have occurred?

It would be cumbersome to generate unique names for new files then let
the server grab the newest file at restart. I'm not sure what happens
if many files are quickly generated due to ENOSPC. (Maybe fills-up the
dirent then moves to another failure mode..)

Considering how often that can happen, I would choose to make the
reader function robust or to fix the file manually..

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: BUG #17543: CSVLOG malformed from disk space error
Следующее
От: Yura Sokolov
Дата:
Сообщение: Re: can't drop table due to reference from orphaned temp function