Re: misleading error message in DefineIndex

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: jian he <jian(dot)universality(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: misleading error message in DefineIndex
Date: 2025-11-17 12:51:57
Message-ID: B2D5810B-A31E-4D57-8060-25F4A08A9752@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 17 Nov 2025, at 05:06, jian he <jian(dot)universality(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2025-11-17 12:53:35 Re: Extended Statistics set/restore/clear functions.
Previous Message Amit Langote 2025-11-17 12:50:01 Re: generic plans and "initial" pruning