Fix enum errdetail to mention bytes, not chars The enum label length is in terms of bytes, not charactes.
Author: Ian Lawrence Barwick <[email protected]> Reviewed-by: Julien Rouhaud <[email protected]> Discussion: https://www.postgresql.org/message-id/flat/CAB8KJ=itzej7c9bacthsygeuysh4xx8wdionyppnslyn6-g...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/0525572860335d050a1bea194a5278c8833304d1 Modified Files -------------- src/backend/catalog/pg_enum.c | 6 +++--- src/test/regress/expected/enum.out | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-)
