Re: misleading error message in DefineIndex - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: misleading error message in DefineIndex
Date
Msg-id B2D5810B-A31E-4D57-8060-25F4A08A9752@yesql.se
Whole thread Raw
In response to misleading error message in DefineIndex  (jian he <jian.universality@gmail.com>)
List pgsql-hackers
> On 17 Nov 2025, at 05:06, jian he <jian.universality@gmail.com> wrote:

> In the example above , the primary error message "unique
> constraint..." seems confusing.

Some of the internals does seem bleed through.  Do you want to work on a patch
for a suggestion on an improvement?  Maybe it could be possible to improve the
wording by incorporating constraint_type in some way?

--
Daniel Gustafsson




pgsql-hackers by date:

Previous
From: Amit Langote
Date:
Subject: Re: generic plans and "initial" pruning
Next
From: jian he
Date:
Subject: Re: Extended Statistics set/restore/clear functions.