Re: Higher level questions around shared memory stats

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Higher level questions around shared memory stats
Дата
Msg-id 999860e3-d21c-330e-eef3-215bfa5509ac@enterprisedb.com
обсуждение исходный текст
Ответ на Re: Higher level questions around shared memory stats  (Andres Freund <andres@anarazel.de>)
Ответы Re: Higher level questions around shared memory stats  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
On 29.03.22 23:01, Andres Freund wrote:
>> I think what's actually most important here is the error reporting. We need
>> to make it clear, at least via log messages, that something bad has
>> happened.
> The message currently (on HEAD, but similarly on the path) is:
>                 ereport(pgStatRunningInCollector ? LOG : WARNING,
>                         (errmsg("corrupted statistics file \"%s\"",
>                                 statfile)));

Corrupted how?  How does it know?  Is there a checksum, was the file the 
wrong length, what happened?  I think this could use more detail.




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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Commitfest Update
Следующее
От: Robert Haas
Дата:
Сообщение: Re: refactoring basebackup.c (zstd workers)