Re: Incorrect use of errcode_for_file_access in backend code - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Incorrect use of errcode_for_file_access in backend code
Date
Msg-id 20180904181417.GD20696@paquier.xyz
Whole thread Raw
In response to Incorrect use of errcode_for_file_access in backend code  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
On Sun, Sep 02, 2018 at 01:07:47PM -0700, Michael Paquier wrote:
> Wouldn't something like the attached provide more adapted error
> handling?  That's mostly error handling beautification, so I would be
> incline to just fix HEAD.
>
> (I have noticed some inconsistent error string format in autoprewarm.c
> on the way.)

Pushed as d6e98eb as that will reduce a bit more translator's work,
after noticing one error string in basebackup.c which could be unified
with the rest.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Bug fix for glibc broke freebsd build in REL_11_STABLE
Next
From: Michael Paquier
Date:
Subject: Re: Add SKIP LOCKED to VACUUM and ANALYZE