Re: minor error message enhancement in refuseDupeIndexAttach

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: minor error message enhancement in refuseDupeIndexAttach
Date: 2025-04-15 09:02:19
Message-ID: 3FB14DDE-17DA-4A3B-8D0E-1B143511F420@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 15 Apr 2025, at 10:52, jian he <jian(dot)universality(at)gmail(dot)com> wrote:

> in refuseDupeIndexAttach, we can change from
>
> errdetail("Another index is already attached for partition \"%s\"."...)
>
> to
>
> errdetail("Another index \"%s\" is already attached for partition \"%s\".")
>
> So we can easily understand which index is already attached for
> partition \"%s\".

That seems like it could be handy. As this relates to chaning old and existing
behavior, and we are in feature freeze, I suggest registering this in the
commitfest app.

--
Daniel Gustafsson

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Richard Guo 2025-04-15 09:20:42 Re: A modest proposal: make parser/rewriter/planner inputs read-only
Previous Message Yura Sokolov 2025-04-15 08:57:24 Re: Built-in Raft replication