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 ZpnQ5o4YzfSJOvdo@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.

Still sounds like a better idea to me after a night of sleep.  Would
somebody disagree about this idea?  HEAD only, of course.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [PATCH] Add additional extended protocol commands to psql: \parse and \bindx
Next
From: Peter Smith
Date:
Subject: Re: Slow catchup of 2PC (twophase) transactions on replica in LR