Re: minor error message enhancement in refuseDupeIndexAttach - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: minor error message enhancement in refuseDupeIndexAttach
Date
Msg-id 3FB14DDE-17DA-4A3B-8D0E-1B143511F420@yesql.se
Whole thread Raw
In response to minor error message enhancement in refuseDupeIndexAttach  (jian he <jian.universality@gmail.com>)
List pgsql-hackers
> On 15 Apr 2025, at 10:52, jian he <jian.universality@gmail.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




pgsql-hackers by date:

Previous
From: Yura Sokolov
Date:
Subject: Re: Built-in Raft replication
Next
From: Richard Guo
Date:
Subject: Re: A modest proposal: make parser/rewriter/planner inputs read-only