pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter@eisentraut.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix enum errdetail to mention bytes, not chars
Date: Tue, 27 Oct 2020 11:00:02 +0000
Message-ID: <E1kXMhu-0000QE-2m@gemulon.postgresql.org> (raw)

Fix enum errdetail to mention bytes, not chars

The enum label length is in terms of bytes, not charactes.

Author: Ian Lawrence Barwick <barwick@gmail.com>
Reviewed-by: Julien Rouhaud <rjuju123@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAB8KJ=itZEJ7C9BacTHSYgeUysH4xx8wDiOnyppnSLyn6-g+Bw@mail....

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(-)



Message-ID: <E1kXMhu-0000QE-2m@gemulon.postgresql.org>
Permalink:  ../E1kXMhu-0000QE-2m@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kXMhu-0000QE-2m@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: peter@eisentraut.org
  Subject: Re: pgsql: Fix enum errdetail to mention bytes, not chars
  In-Reply-To: <E1kXMhu-0000QE-2m@gemulon.postgresql.org>
  References: <E1kXMhu-0000QE-2m@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox