Re: Internal error codes triggered by tests
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Daniel Gustafsson <daniel@yesql.se>
Cc: Alexander Lakhin <exclusion@gmail.com>, Robert Haas <robertmhaas@gmail.com>, Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-07-22T00:45:24Z
Lists: 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
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Add new error code for "file name too long"
- 2d8ef5e24fd3 18.0 landed
-
Assign error codes where missing for user-facing failures
- b81a71aa05f2 18.0 landed