Re: More consistency for some file-related error message - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: More consistency for some file-related error message
Date
Msg-id 20180723004106.GA2854@paquier.xyz
Whole thread Raw
In response to Re: More consistency for some file-related error message  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Fri, Jul 20, 2018 at 03:41:08PM +0900, Michael Paquier wrote:
> Okay, I just looked again at this point, and among the new messages only
> what's in XLogFileCopy has been bothering setting errno to 0 (see
> 811b6e3), so let's remove it in this case.

So, I have been through the patch set once again and pushed the patch to
make more error messages consistent, as well as the patch to set up
proper errcodes for new error messages.  There are perhaps more
improvements which could be done for the error messages, but that's not
absolutely clear either as the context used is actually useful in those
remaining.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: wrong query result with jit_above_cost= 0
Next
From: Andrew Gierth
Date:
Subject: Re: Should contrib modules install .h files?