On January 9, 2019 5:01:40 PM PST, Michael Paquier <mich...@paquier.xyz> wrote:
>On Wed, Jan 09, 2019 at 08:10:43AM -0800, Andres Freund wrote:
>> I'm quite unenthused about that. If anything, I'd remove detail and
>use
>> the standard error message about not being able to write to a file,
>and
>> include the full path.
>
>Partially agreed.  Those messages have been left out of 56df07b
>because they include some context about the offset and the length, and
>I don't think that we simply want to remove that information.  What
>about making the offset and the length part of an extra errdetail, and
>switch the main error string to a more generic one?

IIRC we have other such errors including offset and length (and if not we'll 
grow some). It should be formatted as a genetic write error with the file name, 
no reference to log file, etc, even if there's no precedent.

Andres
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Reply via email to