2020年10月27日(火) 20:00 Peter Eisentraut :
>
> On 2020-10-19 06:34, Julien Rouhaud wrote:
> >> ERROR: invalid enum label "ああ"
> >> DETAIL: Labels must be 63 characters or less.
> >>
> >> Attached trivial patch changes the message to:
> >>
> >> DETAIL: Labels must
On 2020-10-19 06:34, Julien Rouhaud wrote:
ERROR: invalid enum label "ああ"
DETAIL: Labels must be 63 characters or less.
Attached trivial patch changes the message to:
DETAIL: Labels must be 63 bytes or less.
This matches the documentation, which states:
On Mon, Oct 19, 2020 at 12:18 PM Ian Lawrence Barwick wrote:
>
> Hi
>
> The errdetail emitted when creating/modifying an ENUM value is misleading:
>
> postgres=# CREATE TYPE enum_valtest AS ENUM (
> 'foo',
> 'ああ'
>);
> ERR
Hi
The errdetail emitted when creating/modifying an ENUM value is misleading:
postgres=# CREATE TYPE enum_valtest AS ENUM (
'foo',
'ああ'
);
ERROR: invalid enum label "ああ"
DETAIL: Labels must be 63