Re: Internal error codes triggered by tests - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Internal error codes triggered by tests
Date
Msg-id Zp2rpLiB5gsPjaI5@paquier.xyz
Whole thread Raw
In response to Re: Internal error codes triggered by tests  (Daniel Gustafsson <daniel@yesql.se>)
List pgsql-hackers
On Thu, Jul 18, 2024 at 09:37:06AM +0200, Daniel Gustafsson wrote:
> On 18 Jul 2024, at 09:29, Michael Paquier <michael@paquier.xyz> wrote:
>> How about using a new error code in class 58, say a
>> ERRCODE_FILE_NAME_TOO_LONG like in the attached?
>> ERRCODE_DUPLICATE_FILE is like that; it exists just for the mapping
>> with EEXIST.
>
> Agreed, that's probably a better option.

Applied this one now on HEAD.  On second look, all buildfarm
environments seem to be OK with this errno, as far as I've checked, so
that should be OK.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: xid_wraparound tests intermittent failure.
Next
From: Alexander Korotkov
Date:
Subject: Re: POC, WIP: OR-clause support for indexes