Re: Improve error message for duplicate labels in enum types

From: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
To: Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>
Cc: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Improve error message for duplicate labels in enum types
Date: 2025-08-26 06:30:39
Message-ID: cbf23f08-8d49-4fd5-98b1-61755bd52b36@uni-muenster.de
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 26.08.25 04:55, Yugo Nagata wrote:
> Thank you for taking a look. That makes sense, so I updated the message to:
>
> ERROR: enum label "a" used more than once

Nice.

> I also added a test for duplicate enum entries to enum.sql,
> since tests for existing entries are already there.

+1

LGTM; I'll mark the CF entry as Ready for Committer.

Regards, Jim

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bertrand Drouvot 2025-08-26 06:38:41 Re: Per backend relation statistics tracking
Previous Message Dilip Kumar 2025-08-26 06:26:53 Re: Potential problem in commit f777d773878 and 4f7f7b03758