Re: Higher level questions around shared memory stats - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Higher level questions around shared memory stats
Date
Msg-id 999860e3-d21c-330e-eef3-215bfa5509ac@enterprisedb.com
Whole thread Raw
In response to Re: Higher level questions around shared memory stats  (Andres Freund <andres@anarazel.de>)
Responses Re: Higher level questions around shared memory stats  (Andres Freund <andres@anarazel.de>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Commitfest Update
Next
From: Robert Haas
Date:
Subject: Re: refactoring basebackup.c (zstd workers)