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

From Daniel Gustafsson
Subject Re: Internal error codes triggered by tests
Date
Msg-id 3127162F-BA40-4870-B910-EDF3FE50EC96@yesql.se
Whole thread Raw
In response to Re: Internal error codes triggered by tests  (Michael Paquier <michael@paquier.xyz>)
Responses Re: Internal error codes triggered by tests
Re: Internal error codes triggered by tests
List pgsql-hackers
> 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.

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Internal error codes triggered by tests
Next
From: Andy Fan
Date:
Subject: Re: Optimize WindowAgg's use of tuplestores