Re: Improve error message for duplicate labels in enum types - Mailing list pgsql-hackers

From Jim Jones
Subject Re: Improve error message for duplicate labels in enum types
Date
Msg-id cbf23f08-8d49-4fd5-98b1-61755bd52b36@uni-muenster.de
Whole thread Raw
In response to Re: Improve error message for duplicate labels in enum types  (Yugo Nagata <nagata@sraoss.co.jp>)
List 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



pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: Potential problem in commit f777d773878 and 4f7f7b03758
Next
From: Bertrand Drouvot
Date:
Subject: Re: Per backend relation statistics tracking